mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 09:37:03 +02:00
lint
This commit is contained in:
parent
3580e070a3
commit
1a6ca774f0
1 changed files with 1 additions and 3 deletions
|
@ -844,9 +844,7 @@ class DomainAdmin(ListHeaderAdmin):
|
||||||
# but cannot access this page when it is a request of type POST.
|
# but cannot access this page when it is a request of type POST.
|
||||||
if request.user.has_perm(
|
if request.user.has_perm(
|
||||||
"registrar.full_access_permission"
|
"registrar.full_access_permission"
|
||||||
) or request.user.has_perm(
|
) or request.user.has_perm("registrar.analyst_access_permission"):
|
||||||
"registrar.analyst_access_permission"
|
|
||||||
):
|
|
||||||
return True
|
return True
|
||||||
return super().has_change_permission(request, obj)
|
return super().has_change_permission(request, obj)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue