Copying a page containing draft text block(s) causes the hidden content to become visible

Bug #1883612 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Cecilia Vela Gurovic

Bug Description

In the upcoming 20.10 release we've added the ability to set a text block to 'draft' mode where the content cannot be viewed by anyone other than the page owner.

But when the page is shared to other people and the allow copying option is set to 'Yes' then other people can copy the page and see the draft text block content in their copy of the page.

What should happen when another person makes a copy? Should they only get the published text blocks?

Or should they also get draft text blocks but only copy the title and not the content?

And should the copy of a draft text block be set to be non-draft as well?

Changed in mahara:
assignee: nobody → Cecilia Vela Gurovic (ceciliavg)
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/11039

Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/11039
Committed: https://git.mahara.org/mahara/mahara/commit/ddd1d386bb84efecfd8da772c58d7a82912ac8b9
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit ddd1d386bb84efecfd8da772c58d7a82912ac8b9
Author: Cecilia Vela Gurovic <email address hidden>
Date: Thu Jun 25 12:58:30 2020 +1200

Bug 1883612: don't copy text if the block is draft

When there is a draft text block in a page, and this page
is copied, don't copy the text

behatnotneeded

Change-Id: If22ededdf49a4e21d72de51d19217a3c7af64c53

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.