Skip to content

Commit

Permalink
permissions: move self-checkout to invenio-app-ils
Browse files Browse the repository at this point in the history
  • Loading branch information
ntarocco committed Oct 28, 2024
1 parent aaaeadf commit 166a407
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions cds_ils/patrons/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@

from invenio_access import action_factory
from invenio_access.permissions import Permission
from invenio_app_ils.permissions import (
authenticated_user_permission,
backoffice_access_action,
)
from invenio_app_ils.permissions import backoffice_access_action
from invenio_app_ils.permissions import (
views_permissions_factory as ils_views_permissions_factory,
)
Expand All @@ -38,6 +35,4 @@ def views_permissions_factory(action):
return retrieve_patron_loans_permission()
elif action == "document-importer":
return document_importer_permission()
elif action == "circulation-loan-checkout":
return authenticated_user_permission()
return ils_views_permissions_factory(action)

0 comments on commit 166a407

Please sign in to comment.