feat: update competition perm

This commit is contained in:
2025-08-16 11:14:41 +02:00
parent 18ea38f85a
commit 9e9391465d
6 changed files with 18 additions and 18 deletions

View File

@@ -115,8 +115,8 @@ public class CompteEndpoints {
else toRemove.add("safca_super_admin");
if (form.isSafca_user()) toAdd.add("safca_user");
else toRemove.add("safca_user");
if (form.isSafca_create_compet()) toAdd.add("safca_create_compet");
else toRemove.add("safca_create_compet");
if (form.isCreate_compet()) toAdd.add("create_compet");
else toRemove.add("create_compet");
return service.updateRole(id, toAdd, toRemove);
}