mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-30 14:36:32 +02:00
small cleanup
This commit is contained in:
parent
8644b0d456
commit
a3fa71659a
3 changed files with 17 additions and 22 deletions
|
@ -758,7 +758,7 @@ class DomainRequestStatus(DomainRequestPermissionView):
|
|||
has_base_perms = super().has_permission()
|
||||
if not has_base_perms:
|
||||
return False
|
||||
|
||||
|
||||
if self.request.user.is_org_user(self.request):
|
||||
portfolio = self.request.session.get("portfolio")
|
||||
if not self.request.user.has_edit_request_portfolio_permission(portfolio):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue