This commit is contained in:
2026-01-02 18:20:15 +00:00
parent 0f7c29c3ef
commit ce5a8fbffd
37 changed files with 323 additions and 178 deletions
+1 -1
View File
@@ -188,6 +188,6 @@ func getPermissionsForRole(role Role) []Permission {
// generateID generates a unique ID
func generateID() string {
b := make([]byte, 16)
rand.Read(b)
_, _ = rand.Read(b) // #nosec G104 -- Rand read always succeeds
return base64.URLEncoding.EncodeToString(b)
}