mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 11:16:07 +02:00
Update portfolios.py
This commit is contained in:
parent
8ddcf50bc8
commit
12853d7828
1 changed files with 3 additions and 3 deletions
|
@ -304,7 +304,7 @@ class PortfolioMemberEditView(DetailView, View):
|
|||
messages.warning(self.request, "Could not send email notification to existing organization admins.")
|
||||
|
||||
|
||||
@grant_access(HAS_PORTFOLIO_MEMBERS_VIEW)
|
||||
@grant_access(HAS_PORTFOLIO_MEMBERS_ANY_PERM)
|
||||
class PortfolioMemberDomainsView(View):
|
||||
|
||||
template_name = "portfolio_member_domains.html"
|
||||
|
@ -437,7 +437,7 @@ class PortfolioMemberDomainsEditView(DetailView, View):
|
|||
UserDomainRole.objects.filter(domain_id__in=removed_domain_ids, user=member).delete()
|
||||
|
||||
|
||||
@grant_access(HAS_PORTFOLIO_MEMBERS_VIEW)
|
||||
@grant_access(HAS_PORTFOLIO_MEMBERS_ANY_PERM)
|
||||
class PortfolioInvitedMemberView(DetailView, View):
|
||||
model = Portfolio
|
||||
context_object_name = "portfolio"
|
||||
|
@ -601,7 +601,7 @@ class PortfolioInvitedMemberEditView(DetailView, View):
|
|||
messages.warning(self.request, "Could not send email notification to existing organization admins.")
|
||||
|
||||
|
||||
@grant_access(HAS_PORTFOLIO_MEMBERS_VIEW)
|
||||
@grant_access(HAS_PORTFOLIO_MEMBERS_ANY_PERM)
|
||||
class PortfolioInvitedMemberDomainsView(View):
|
||||
|
||||
template_name = "portfolio_member_domains.html"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue