Skip to content

Commit

Permalink
rationalize library permissions
Browse files Browse the repository at this point in the history
everybody can view, only admin can add or delete.
  • Loading branch information
eric-intuitem committed Feb 23, 2024
1 parent 8f893bb commit 465a9ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/core/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def startup(**kwargs):
"view_requirement",
"view_evidence",
"view_framework",
"view_library",
]
)

Expand All @@ -55,6 +56,7 @@ def startup(**kwargs):
"view_requirement",
"view_evidence",
"view_framework",
"view_library",
]
)

Expand Down Expand Up @@ -102,6 +104,7 @@ def startup(**kwargs):
"view_riskmatrix",
"view_requirement",
"view_framework",
"view_library",
]
)

Expand Down Expand Up @@ -155,7 +158,6 @@ def startup(**kwargs):
"view_requirement",
"view_framework",
"view_library",
"add_library",
]
)

Expand Down

0 comments on commit 465a9ed

Please sign in to comment.