Error When Accessing Users and Have Only Permission "Users: Can edit user profile" or "Users: Can create user"
Description
Steps to repro:
Log into folio-testing
Create a user and give them only this permission: "Users: Can edit user profile"
Log out and log into folio as new user
Click on Users
Expected: Should open users app without error
Actual: Error displays. ERROR: in module @folio/users, operation GET on resource 'loans' failed, saying: Access requires permission: circulation.loans.collection.get
Additional info: Same problem occurs when you log in as a user with only Users: Can create user. When fixing this, please check all the user permissions to make sure they don't result in this error.
CSP Request Details
None
CSP Rejection Details
None
Potential Workaround
None
Attachments
2
Checklist
hide
TestRail: Results
Activity
Show:
Anya May 30, 2019 at 7:45 PM
- ok
Michal Kuklis May 30, 2019 at 7:44 PM
Thanks for testing and . This looks like a different bug so if possible please create a new JIRA. Thanks!
patty.wanninger May 30, 2019 at 7:41 PM
Anya May 30, 2019 at 7:40 PM
Edited
This part works but if you try to edit - you get a different error - see below...
do you what this closed or do you want to open a new bug ?
Steps to repro:
Log into folio-testing
Create a user and give them only this permission: "Users: Can edit user profile"
Log out and log into folio as new user
Click on Users
Expected: Should open users app without error
Actual: Error displays. ERROR: in module @folio/users, operation GET on resource 'loans' failed, saying: Access requires permission: circulation.loans.collection.get
Additional info: Same problem occurs when you log in as a user with only Users: Can create user. When fixing this, please check all the user permissions to make sure they don't result in this error.