mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-05 20:17:24 +02:00
unit tests, add cisa_analyst permission in the cisa_analysts_group for better grannular hasPerm testing in admin.py
This commit is contained in:
parent
cd14eb2584
commit
155baa0200
11 changed files with 142 additions and 64 deletions
|
@ -81,8 +81,9 @@ class User(AbstractUser):
|
|||
logger.warn(
|
||||
"Failed to retrieve invitation %s", invitation, exc_info=True
|
||||
)
|
||||
|
||||
|
||||
class Meta:
|
||||
permissions = [
|
||||
("analyst_access_permission", "Analyst Access Permission"),
|
||||
("full_access_permission", "Full Access Permission"),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue