Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ILL request: fix permissions #1714

Merged
merged 1 commit into from
Mar 3, 2021
Merged

Conversation

zannkukai
Copy link
Contributor

If the current user had role librarian AND role patron, it couln't
view/edit an ILL requests into the admin interface.

Closes #1709.

Co-Authored-by: Renaud Michotte [email protected]

Code review check list

  • Commit message template compliance.
  • Commit message without typos.
  • File names.
  • Functions names.
  • Functions docstrings.
  • Unnecessary commited files?
  • Cypress tests successful?

@zannkukai zannkukai added the f: permissions Concerns the rights management label Feb 22, 2021
@zannkukai zannkukai added this to the v1.1.0 milestone Feb 22, 2021
@zannkukai zannkukai self-assigned this Feb 22, 2021
@zannkukai zannkukai marked this pull request as ready for review February 22, 2021 15:05
@iGormilhit iGormilhit changed the title Request: fix permissions ILL request: fix permissions Feb 23, 2021
Copy link

@iGormilhit iGormilhit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit message proposition:

ILL request: fix permissions

* Fixes permissions when the current user has librarian AND patron
  roles, thus preventing him or her to view/edit an ILL requests on the
  professional interface.
* Closes rero/rero-ils#1709.

* Fixes permissions when the current user has librarian AND patron
  roles, thus preventing him or her to view/edit an ILL requests on the
  professional interface.
* Closes rero#1709.

Co-Authored-by: Renaud Michotte <[email protected]>
@iGormilhit iGormilhit modified the milestones: v1.1.0, v1.2.0 Mar 1, 2021
@zannkukai zannkukai merged commit 6281165 into rero:dev Mar 3, 2021
@zannkukai zannkukai deleted the zan-fix-issue-1709 branch March 3, 2021 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f: permissions Concerns the rights management
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ILL request detail view: error message if the librarian has also the role patron.
6 participants