-
Notifications
You must be signed in to change notification settings - Fork 25
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
permissions: disable edit and delete buttons for librarians #566
Conversation
4b18aab
to
9ec94f6
Compare
e804cd3
to
b16680a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As librarian, I can access directly (by url) to the edit form of another library. Is it possible to protect that?
note: the save action doesn't work as expected
2caaa0a
to
4cd1f3d
Compare
As per @jma, I am opening an issue for this. it is a bug in the |
* Creates separate permission files for patron, library, location resources. * Disables location/library edit and delete buttons for librarians from external libraries. * Creates complete units tests for library and location permissions. * Removes duplicates imports. * Closes rero#488 Co-Authored-by: Aly Badr <aly.badr@rero.ch>
4cd1f3d
to
b3b69e8
Compare
Co-Authored-by: Aly Badr aly.badr@rero.ch
How to test?
librarian
and make sure you can only edit your library and its locationssystem_librarian
and make sure you can edit, delete any library or location of your organisation.Code review check list