ADMIN_BIB_BUCKET and CREATE_BIB_BUCKET permissions are missing from seed files

Bug #2051140 reported by Llewellyn Marshall
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned

Bug Description

Evergreen 3.11

At NC Cardinal we were attempting to set up carousel access for branch admins but the page wouldn't load for them. After some digging, we found that this was because they were unable to access buckets that belonged to other users. In FM_IDL.xml, we found that bib buckets had two permissions that were not found anywhere else in the system. These permissions are:

+ADMIN_BIB_BUCKET
+CREATE_BIB_BUCKET

The carousel administration page functioned normally after ADMIN_BIB_BUCKET was created and assigned to the branch admin permission group.

We're going to create a small patch that will add these two permissions to the seed file.

related bugs:
https://bugs.launchpad.net/evergreen/+bug/1851879
https://bugs.launchpad.net/evergreen/+bug/1901888

tags: added: opac-carousel permissions
Revision history for this message
Llewellyn Marshall (lbmarshallv) wrote :
Revision history for this message
Galen Charlton (gmc) wrote :

The update script will need to account for the possibility that the permissions in question were already manually added to the database, as is the case with at least three of Equinox's customer's databases.

Since the permission ID value doesn't matter, just the code, 1191.data.lp1842940_staff_edit_self_perm.sql gives an example of how to do it.

Revision history for this message
Llewellyn Marshall (lbmarshallv) wrote :

fixed up the update script to account for that.

Revision history for this message
Jane Sandberg (sandbergja) wrote :

Thanks for the branch, Llewellyn! Would it be okay to add the pullrequest tag to this bug?

Revision history for this message
Llewellyn Marshall (lbmarshallv) wrote :

You're welcome! I just added pullrequest to the tags

tags: added: pullrequest
Revision history for this message
Michele Morgan (mmorgan) wrote :

Marking Confirmed. We are running into this as well.

Changed in evergreen:
status: New → Confirmed
Revision history for this message
Jane Sandberg (sandbergja) wrote :

Thanks, Llewellyn! We reviewed this in the collaborative code review meeting, and Blake pushed it to rel_3_12 and above.

Changed in evergreen:
status: Confirmed → Fix Committed
importance: Undecided → Medium
milestone: none → 3.12.2
Revision history for this message
Jason Stephenson (jstephenson) wrote :

Should this patch be back ported to rel_3_11? It was reported there.

Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.