Trying to add same access permission as a existing locked option gives error
Bug #1475104 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Robert Lyon | ||
15.10 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When editing the access on a page such as Profile page if you try to add a 'registered users' access permission that is different to the locked one it throws error.
When in reality one shouldn't be able to even add an access permission of the same type if it has a locked instance.
Either we need to hide that option on page load or have some javascript check to say 'Hey no, that is not allowed'
Changed in mahara: | |
status: | Confirmed → In Progress |
assignee: | nobody → Robert Lyon (robertl-9) |
tags: |
added: needs-behat removed: behat |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I've added a patch that checks if any of the allowedpresets are in fact related to an access option that is locked or not and if it is locked then drop the preset from the list.