← Back to team overview

mahara-contributors team mailing list archive

[Bug 1781844] [NEW] When pages are shared - users can delete blocks by accident

 

Public bug reported:

Mahara 18.04.02
DB: Mysql
OS: Ubuntu
Browser: Chrome

A lot of users in Mahara create (Template) pages to share out to users.
This reduces the setup a new user will have to do to. There is an issue
that on their personal copy, the blocks that were so carefully setup can
be deleted.

This patch creates a new column in the database called "lockblocks" that
can be enabled/disabled on the share page.

When the user copies the page, this setting is copied over and the
"delete" icon is hidden from view should the lockblocks setting be
enabled.

To unset - the user can open the advanced options in the shared area and
disable the lock blocks feature to enable the deletion of the blocks as
per normal.

** Affects: mahara
     Importance: Undecided
         Status: New


** Tags: blocks locking

** Patch added: "Mahara 18.04.02 Patch"
   https://bugs.launchpad.net/bugs/1781844/+attachment/5164006/+files/patch.diff

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

Title:
  When pages are shared - users can delete blocks by accident

Status in Mahara:
  New

Bug description:
  Mahara 18.04.02
  DB: Mysql
  OS: Ubuntu
  Browser: Chrome

  A lot of users in Mahara create (Template) pages to share out to
  users. This reduces the setup a new user will have to do to. There is
  an issue that on their personal copy, the blocks that were so
  carefully setup can be deleted.

  This patch creates a new column in the database called "lockblocks"
  that can be enabled/disabled on the share page.

  When the user copies the page, this setting is copied over and the
  "delete" icon is hidden from view should the lockblocks setting be
  enabled.

  To unset - the user can open the advanced options in the shared area
  and disable the lock blocks feature to enable the deletion of the
  blocks as per normal.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1781844/+subscriptions


Follow ups