← Back to team overview

mahara-contributors team mailing list archive

[Bug 1475104] Re: Trying to add same access permission as a existing locked option gives error

 

To test - before patch:

1) Make new site with some users in it
2) Login as UserA
3) Go to 'Portfolio' and edit the 'Profile page'
4) Click 'Share page' and you should see that under the access rules 'Registered users' and the access start/end dates should be greyed out 
- this means that UserA's profile page is shared with registered users by default and can't be changed
5) There is an 'add access for "registered users" option available.

But you shouldn't be as we can't change that access rule in any way.

After patch:

The 'add access for "registered users" option should not be available
here - but it should be available when you are making a new page.

-- 
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:
  In Progress

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


References