Looks like the original bug to create this feature considered only personal 
portfolios could set the lock blocks option: 
https://bugs.launchpad.net/mahara/+bug/1781844

We have to decide:

- If we want to keep this lock block setting only for personal
portfolios, then we need to remove the 'lock blocks' switch from the
settings section for the rest of the views (group, sites, institutions)

- If we want to have the lock blocks option for all the views in the sites, 
then we need to fix the condition when the block is being rendered:
function render_editing in file blocktype/lib.php, when assigning a value to 
'lockblocks' in smarty object


** Changed in: mahara
       Status: Confirmed => Incomplete

-- 
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/1833664

Title:
  "Lock blocks" doesn't work in group pages

Status in Mahara:
  Incomplete

Bug description:
  Tested in Mahara 19.04 and master.

  When you create a group page and use the "Lock blocks" functionality,
  the blocks still display the "Delete" button and it can be pressed.
  The "Delete" button should not be there at all.

  To replicate:

  1. Create a group.
  2. Create a page in the group and set "Lock blocks" to "Yes" in the 
"Advanced" panel.
  3. Drag a block onto the page and save it.
  Expected result: You only see the "Configure" icon but not the "Delete" icon.
  Actual result: You see both the "Configure" and "Delete" icons.

  When a solution is found, this functionality needs to be tested also
  for personal, institution, and site pages to ensure that the behavior
  is still correct there.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1833664/+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

Reply via email to