Skip to content

Commit

Permalink
permissions: add system access permisssion
Browse files Browse the repository at this point in the history
  • Loading branch information
kpsherva authored and utnapischtim committed Nov 7, 2024
1 parent fb183bc commit 740013c
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_access_permission = Permission(system_process)
"""Used to restrict access to system process."""

0 comments on commit 740013c

Please sign in to comment.