Add readonly view

This commit is contained in:
zandercymatics 2024-08-02 14:38:45 -06:00
parent 7b811895b3
commit 03e184e261
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
8 changed files with 44 additions and 12 deletions

View file

@ -26,3 +26,8 @@ class UserPortfolioPermissionChoices(models.TextChoices):
VIEW_PORTFOLIO = "view_portfolio", "View organization"
EDIT_PORTFOLIO = "edit_portfolio", "Edit organization"
# TODO - think of other solutions
# Domain: field specific permissions
VIEW_SUBORGANIZATION = "view_suborganization", "View suborganization"
EDIT_SUBORGANIZATION = "edit_suborganization", "Edit suborganization"