forked from ScoDoc/ScoDoc
Retire ancienne permission APIView
This commit is contained in:
parent
6edecb6659
commit
cbcff63b35
@ -12,7 +12,6 @@ _SCO_PERMISSIONS = (
|
|||||||
# - add/delete departments
|
# - add/delete departments
|
||||||
# - tous rôles lors creation utilisateurs
|
# - tous rôles lors creation utilisateurs
|
||||||
(1 << 1, "ScoSuperAdmin", "Super Administrateur"),
|
(1 << 1, "ScoSuperAdmin", "Super Administrateur"),
|
||||||
(1 << 2, "APIView", "Voir (obsolete, use ScoView)"), # deprecated
|
|
||||||
(1 << 2, "ScoView", "Voir"),
|
(1 << 2, "ScoView", "Voir"),
|
||||||
(1 << 3, "ScoEnsView", "Voir les parties pour les enseignants"),
|
(1 << 3, "ScoEnsView", "Voir les parties pour les enseignants"),
|
||||||
(1 << 4, "ScoObservateur", "Observer (accès lecture restreint aux bulletins)"),
|
(1 << 4, "ScoObservateur", "Observer (accès lecture restreint aux bulletins)"),
|
||||||
|
@ -75,7 +75,7 @@ user-role-remove /user/10/role/Observateur/remove ScoSuperAdmin POST
|
|||||||
role-create /role/create/customRole ScoSuperAdmin POST {"permissions": ["ScoView", "ScoUsersView"]}
|
role-create /role/create/customRole ScoSuperAdmin POST {"permissions": ["ScoView", "ScoUsersView"]}
|
||||||
role-remove_permission /role/customRole/remove_permission/ScoUsersView ScoSuperAdmin POST
|
role-remove_permission /role/customRole/remove_permission/ScoUsersView ScoSuperAdmin POST
|
||||||
role-add_permission /role/customRole/add_permission/ScoUsersView ScoSuperAdmin POST
|
role-add_permission /role/customRole/add_permission/ScoUsersView ScoSuperAdmin POST
|
||||||
role-edit /role/customRole/edit ScoSuperAdmin POST { "name" : "LaveurDeVitres", "permissions" : [ "ScoView", "APIView" ] }
|
role-edit /role/customRole/edit ScoSuperAdmin POST { "name" : "LaveurDeVitres", "permissions" : [ "ScoView" ] }
|
||||||
role-delete /role/customRole/delete ScoSuperAdmin POST
|
role-delete /role/customRole/delete ScoSuperAdmin POST
|
||||||
logos /logos ScoSuperAdmin GET
|
logos /logos ScoSuperAdmin GET
|
||||||
logo /logo/demo ScoSuperAdmin GET
|
logo /logo/demo ScoSuperAdmin GET
|
||||||
|
Can't render this file because it contains an unexpected character in line 12 and column 60.
|
Loading…
Reference in New Issue
Block a user