config: Update checkout permissions to support self checkout #2055
tests.yml
on: pull_request
Node_Tests
1m 19s
Matrix: Python_Tests
Annotations
3 errors and 2 warnings
Python_Tests (3.9, postgresql14, opensearch2):
cds_ils/config.py#L1
isort-check
circulation_default_extension_duration,
circulation_default_loan_duration,
)
+from invenio_app_ils.items.api import ITEM_PID_TYPE
from invenio_app_ils.literature.api import LITERATURE_PID_TYPE
from invenio_app_ils.locations.api import LOCATION_PID_TYPE
from invenio_app_ils.patrons.api import PATRON_PID_TYPE
from invenio_app_ils.permissions import (
authenticated_user_permission,
backoffice_permission,
+ loan_checkout_permission,
loan_extend_circulation_permission,
patron_owner_permission,
- loan_checkout_permission,
)
from invenio_app_ils.series.api import SERIES_PID_TYPE
-from invenio_app_ils.items.api import ITEM_PID_TYPE
from invenio_circulation.pidstore.pids import CIRCULATION_LOAN_PID_TYPE
from invenio_circulation.transitions.transitions import (
CreatedToPending,
|
Python_Tests (3.9, postgresql14, opensearch2):
cds_ils/patrons/permissions.py#L1
isort-check
from invenio_access import action_factory
from invenio_access.permissions import Permission
from invenio_app_ils.permissions import (
+ authenticated_user_permission,
backoffice_access_action,
- authenticated_user_permission,
)
from invenio_app_ils.permissions import (
views_permissions_factory as ils_views_permissions_factory,
|
Python_Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
|
Node_Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Python_Tests (3.9, postgresql14, opensearch2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|