feat: more role backend and admin/writer roles additions and adjustments

This commit is contained in:
Florian Sylvain committed 2026-10-26 18:15:26 +01:00
1 parent 8c6c6456da
commit de142f6c5f
131 files changed
+2663 -435

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ func TestPurgeRoleGuardIsAnAllowlist(t *testing.T) {
rec := env.send(t, route.method, route.path, "", 20)
expectRaw(t, rec, 403, apperr.OwnerOrAdminRequiredErrorMessage+"\n")
expectRaw(t, rec, 403, apperr.MissingPermissionErrorMessage+"\n")
if env.purgeSettings.getCalls != 0 || env.purgeSettings.saveCalls != 0 {
t.Errorf("expected no purge setting access")
}