[UXPROD-3002] Courses: New Permission - Course Reserves Add, Edit Created: 23/Mar/21  Updated: 22/Apr/21  Resolved: 01/Apr/21

Status: Closed
Project: UX Product
Components: None
Affects versions: None
Fix versions: None

Type: New Feature Priority: TBD
Reporter: Erin Nettifee Assignee: md331 (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: JPEG File temporary location.jpg    
Issue links:
Defines
is defined by UICR-129 Add "add and edit items" permission set Closed
Development Team: Other dev
PO Rank: 0
Rank: Cornell (Full Sum 2021): R4
Rank: U of AL (MVP Oct 2020): R4

 Description   

Current situation or problem: Some adopting libraries may want staff to be able to add / edit reserve items, but not delete those items, since deletion can cause some unexpected issues with reporting.

Currently, courses has a permission that encompasses course reserves add, edit, and delete - course-reserves.maintain-items

      {
        "permissionName": "course-reserves.maintain-items",
        "displayName": "Courses: Add, edit, and remove items",
        "description": "This permission allows a user to add and edit items to a course",
        "subPermissions": [
          "course-reserves.read-all",
          "course-reserves-storage.reserves.write",
          "course-reserves-storage.courselistings.reserves.item.put",
          "course-reserves-storage.courselistings.reserves.item.post",
          "course-reserves-storage.courselistings.reserves.item.delete",
          "inventory-storage.locations.collection.get",
          "inventory.items.collection.get",
          "inventory-storage.loan-types.collection.get",
          "inventory-storage.items.item.get",
          "inventory-storage.items.item.put"
        ],
        "visible": true
      },

We'd like another permission that allows users to add and edit items, but not delete them.



 Comments   
Comment by md331 (Inactive) [ 01/Apr/21 ]

Done and available on snapshot.

Comment by Kelly Drake [ 21/Apr/21 ]

Hi md331.   It's looking like this new permission might be causing some user issues.  ie a patron will ALL Course permissions, but not this new one, can remove a reserve item from a course but then the temporary location in inventory is not reset.  (Here's the full conversation in the REsearves channel https://folio-project.slack.com/archives/C9AFFJMM0/p1619033743105300)  Short story is that someone with all permissions can remove an item from a course and the temporary location of the item, as assigned in Course Reserves is removed in the inventory/item record. But is someone with the following permissions removes the item, the temporary location is not removed in the inventory/item record. 

I can document more later  but wanted to give you a heads up - in case you totally already get it and can fix it. 

Comment by md331 (Inactive) [ 22/Apr/21 ]

Hey Kelly Drake, I'm having trouble fully understanding the bug, but it appears like it's being discovered on the Bugfest instances, right? If so, it wouldn't be due to this feature because it's not actually in Iris. Iris should have the 4.0.1 release and these new permission sets are currently only available on the snapshot and nightly testing sites.

Comment by Kelly Drake [ 22/Apr/21 ]

Indeed - this was happening on the bugfest environment. I'll take a look at snapshot.

 

Comment by Kelly Drake [ 22/Apr/21 ]

md331 - I'm unable to replicate on snapshot.dev.folio so if that's where you've been working, seems we are good. 

Generated at Fri Feb 09 00:28:34 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.