normalized more portfolio permission names

This commit is contained in:
David Kennedy 2025-02-05 16:42:56 -05:00
parent f9e796df72
commit 120650895a
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
10 changed files with 31 additions and 31 deletions

View file

@ -947,7 +947,7 @@ class DomainRequest(TimeStampedModel):
try:
if not context:
has_organization_feature_flag = flag_is_active_for_user(recipient, "organization_feature")
is_org_user = has_organization_feature_flag and recipient.has_base_portfolio_permission(self.portfolio)
is_org_user = has_organization_feature_flag and recipient.has_view_portfolio_permission(self.portfolio)
context = {
"domain_request": self,
# This is the user that we refer to in the email