Allow editors and approvers to see package audit log descriptions

This commit is contained in:
rubenwardy
2023-05-12 00:55:44 +01:00
parent 84d379d490
commit f03746f5ad
4 changed files with 24 additions and 4 deletions

View File

@@ -90,6 +90,7 @@ class Permission(enum.Enum):
DELETE_REVIEW = "DELETE_REVIEW"
CHANGE_PROFILE_URLS = "CHANGE_PROFILE_URLS"
CHANGE_DISPLAY_NAME = "CHANGE_DISPLAY_NAME"
VIEW_AUDIT_DESCRIPTION = "VIEW_AUDIT_DESCRIPTION"
# Only return true if the permission is valid for *all* contexts
# See Package.checkPerm for package-specific contexts