Fees/Fines actions permission not working properly on http://folio-snapshot.aws.indexdata.com
Description
CSP Request Details
CSP Rejection Details
Potential Workaround
Attachments
- 19 Jan 2019, 09:45 PM
- 24 Dec 2018, 02:15 AM
- 24 Dec 2018, 02:14 AM
- 24 Dec 2018, 02:14 AM
- 24 Dec 2018, 02:14 AM
- 24 Dec 2018, 02:14 AM
- 24 Dec 2018, 02:13 AM
- 24 Dec 2018, 02:13 AM
- 24 Dec 2018, 02:13 AM
- 24 Dec 2018, 02:12 AM
- 24 Dec 2018, 02:09 AM
relates to
Checklist
hideTestRail: Results
Activity
Holly MistlebauerJanuary 19, 2019 at 10:01 PM
Holly just remembered to test accessing fees/fines from Open/Closed Loans. There is a problem, which she reported in JIRA issue https://folio-org.atlassian.net/browse/UIU-867#icft=UIU-867.
Holly MistlebauerJanuary 19, 2019 at 9:44 PM
Holly has tested the permissions (see the attached test results file UIU-788_Test_Cases.xlsx) and found just two minor issues. See new JIRA issues https://folio-org.atlassian.net/browse/UIU-865#icft=UIU-865 and https://folio-org.atlassian.net/browse/UIU-866#icft=UIU-866 for details.
Holly MistlebauerJanuary 13, 2019 at 12:45 AM
@lluvia Manilla: This still is not working properly. I suspect I am not testing it correctly. I am testing using user diku_admin.
diku_admin has these user permissions:
feefines read-basic
feefines read-restricted
diku_admin does NOT have these user permission:
Fees/Fines: All Actions Permissions
Settings (Users): Can create, edit and remove fee/fine settings
What am I doing wrong?
Thanks,
Holly
Holly MistlebauerDecember 24, 2018 at 2:07 AMEdited
I just checked with Cate, the Lead Product Owner...
If someone does not have the permission to do something, the option should not appear unless there is an override option available. We haven't done overrides yet, so I don't want to eliminate the options just yet.
If a user does NOT have the action permission, please do the following...
FEES/FINE HISTORY - see attached screen print FF-History.jpg
Gray out the New, Pay, Waive, Refund, and Transfer buttons (Refund and Transfer are already grayed out because the functionality doesn't exist yet)
Gray out the Pay, Waive, Refund, Transfer, and Error ellipsis menu options (Refund and Transfer are already grayed out because the functionality doesn't exist yet)
FEES/FINE DETAILS - see attached screen print FF-Details.jpg
Gray out the Pay, Waive, Refund, Transfer, and Error buttons on the Fee/Fine Details page (Refund and Transfer are already grayed out because the functionality doesn't exist yet)
USER INFORMATION - see attached screen prints User-Info-FF.jpg and User-Info-Patron-Blocks.jpg
Gray out the Charge Fee/Fine button in the Fees/Fines section
Gray out the +Add Block button in the Patron Blocks section
When user clicks on patron block row, do not open page to edit patron block
LOAN HISTORY - see attached screen print Loan-History.jpg
Gray out the New Fee/Fine ellipsis menu option
Holly has started testing this on http://folio-snapshot.aws.indexdata.com. The attached file User Permissions Available.docx lists all of the permissions available on the test server. I plan on removing the permission Fees/Fines: All Actions permissions from user diku_admin to see what happens. I noticed that the list of permissions also includes feefines read-basic and feefines read-restricted. What are these permissions for?
Testing results on http://folio-snapshot.aws.indexdata.com with permission Fees/Fines: All Actions permissions removed and permission feefines read-basic added:
User Information - I was able to view fees/fines and patron block information, which is correct.
Fees/Fines History - I was able to view the list of fees/fines for a patron, which is correct.
Fee/Fine Details - I was able to view details for a selected fee/fine, but received an error as shown in attached screen print FF Details Error.jpg. There should not be an error displayed.
New Fee/Fine - I was able to enter a new manual fee/fine charge, but when I hit the charge button I received an error as show in attached screen print Charge New FF Error.jpg. I should not be able to get that far without the permission to perform fee/fine actions.
Pay Fee/Fine - I was able to pick a fee/fine to pay. I received an error as shown in attached screen print Pay FF Error.jpg but I should not be able to get that far without the permission to perform fee/fine actions.
Waive Fee/Fine - I was able to pick a fee/fine to waive. I received an error as shown in attached screen print Waive FF Error.jpg but I should not be able to get that far without the permission to perform fee/fine actions.
View Fee/Fine in Loan History - Works correctly.
View Fee/Fine in Loan Details - Works correctly.