Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
ERM Sprint 101, ERM Sprint 102, ERM Sprint 103
-
Bienenvolk
Description
Overview:
Steps to Reproduce:
- Login with user that has CRUD permissions in both Agreements and Licenses
- Create a License
- Create an Agreement
- Link License to Agreement
- Navigate to License
- Attempt to delete license - note that license is not deleted, although user is not told why
- Login with a user that has CRUD permissions in Licenses but no permissions in Agreements
- View license
- Note that license shows as having zero related agreements even though there is a related agreement
- Attempt to delete license
- Note that license is deleted even though there is a linked license
Expected Results:
- If a user does not have permission to view agreements AND mod-agreements is installed, the user should see a message that they do not have permission to view licenses in the "Agreements linked to this license" section
- No matter what permissions the user has, if a user attempts to delete a license with a linked agreement, they should be told that they cannot delete the license because of a linked agreements. This warning, and the non-deletion of the license should not be dependent of them being able to view or edit agreements
- If there are no agreements related to a license, the user should be able to delete the license even if they do not have permissions to view or edit agreements
Actual Results:
Additional Information:
URL:
Interested parties: