Add delete role

This commit is contained in:
zandercymatics 2023-12-01 14:35:53 -07:00
parent 23a208d2aa
commit 1e48c0b222
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 2 additions and 1 deletions

View file

@ -64,7 +64,7 @@ class UserGroup(Group):
{
"app_label": "registrar",
"model": "userdomainrole",
"permissions": ["view_userdomainrole"],
"permissions": ["view_userdomainrole", "delete_userdomainrole"],
},
]

View file

@ -41,6 +41,7 @@ class TestGroups(TestCase):
"change_draftdomain",
"analyst_access_permission",
"change_user",
"delete_userdomainrole",
"view_userdomainrole",
"change_website"
]