Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #7736

Category None
Changed by Dan Briem <dbriemohnoyoudont@wlsmail.org>
Changed at Fri 02 Apr 2021 17:37:45
Repository git://git.evergreen-ils.org/Evergreen.git
Project Evergreen
Branch master
Revision 60ca20e2d98578c830571c395fd747a63531af11


LP#1920815 Item edit link displayed for all users
The Angular catalog item table doesn't check UPDATE_COPY perm
before displaying an edit link. The back-end checks, so this is
a display issue only. This commit grabs a list of org Ids where
the user has UPDATE_COPY perm and checks the copy circ lib or
cn owning lib is in the list before displaying the edit link.

To test:
1. Search for a record with items you don't have perm to edit
2. Note the edit link shows on every item
3. Apply patch
4. Repeat steps 1-2
5. Note edit link displays if you have perm to edit

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>

Changed files