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.
-- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1475104 Title: Trying to add same access permission as a existing locked option gives error Status in Mahara: Confirmed 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' To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1475104/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

