mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-05 01:16:27 +00:00
N'oublie pas les acl admin
This commit is contained in:
parent
9825dd3f7f
commit
94d6855eec
1 changed files with 32 additions and 1 deletions
|
@ -184,7 +184,38 @@ class Migration(migrations.Migration):
|
|||
'change_all_vente',
|
||||
'change_vente',
|
||||
'delete_vente',
|
||||
'view_vente']}
|
||||
'view_vente'],
|
||||
'admin': ['add_assooption',
|
||||
'change_assooption',
|
||||
'delete_assooption',
|
||||
'view_assooption',
|
||||
'add_generaloption',
|
||||
'change_generaloption',
|
||||
'delete_generaloption',
|
||||
'view_generaloption',
|
||||
'add_mailmessageoption',
|
||||
'change_mailmessageoption',
|
||||
'delete_mailmessageoption',
|
||||
'view_mailmessageoption',
|
||||
'add_optionalmachine',
|
||||
'change_optionalmachine',
|
||||
'delete_optionalmachine',
|
||||
'view_optionalmachine',
|
||||
'add_optionaltopologie',
|
||||
'change_optionaltopologie',
|
||||
'delete_optionaltopologie',
|
||||
'view_optionaltopologie',
|
||||
'add_optionaluser',
|
||||
'change_optionaluser',
|
||||
'delete_optionaluser',
|
||||
'view_optionaluser',
|
||||
'add_service',
|
||||
'add_services',
|
||||
'change_service',
|
||||
'change_services',
|
||||
'delete_service',
|
||||
'delete_services',
|
||||
'view_service']}
|
||||
|
||||
rights = apps.get_model("users", "ListRight")
|
||||
permissions = apps.get_model("auth", "Permission")
|
||||
|
|
Loading…
Reference in a new issue