mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-06 01:35:22 +02:00
Refactor groups and permissions: divide fixtures in 2 files, one for users and one for data, load groups in migrations (using methods defined in user_groups model), use hasperm in admin to test for 'superuser'
This commit is contained in:
parent
fd860998fb
commit
cd14eb2584
15 changed files with 667 additions and 559 deletions
|
@ -48,3 +48,7 @@ future, as we add additional roles that our product vision calls for
|
|||
(read-only? editing only some information?), we need to add conditional
|
||||
behavior in the permission mixin, or additional mixins that more clearly
|
||||
express what is allowed for those new roles.
|
||||
|
||||
# Admin User Permissions
|
||||
|
||||
Refre to [Django Admin Roles](../django-admin/roles.md)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue