Skip to content

Commit

Permalink
permissions: add system permisssion
Browse files Browse the repository at this point in the history
  • Loading branch information
kpsherva authored and zzacharo committed Nov 8, 2024
1 parent fb183bc commit 2cf81fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions invenio_access/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,3 +219,7 @@ def excludes(self):
"""
self._load_permissions()
return self._permissions.excludes


system_permission = Permission(system_process)
"""Used to restrict access to system process."""

0 comments on commit 2cf81fb

Please sign in to comment.