Locked submitted pages still allow quick editing of text blocks
Bug #1926287 reported by
Sam Taylor
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Doris Tam | ||
20.10 |
Fix Released
|
High
|
Gold | ||
21.04 |
Fix Released
|
High
|
Gold |
Bug Description
This happens with portfolios submitted to both Mahara controlled groups and Moodle assignments
Replication steps:
- Create a portfolio page
- Add a text block
- Submit the page to a controlled group
Expected: The page owner cannot edit the page at all
Actual: The page owner can edit the text block when in details mode using the new 'quick edit' feature
This was tried on two separate instances of Mahara 20.10 - one submitting to a controlled group, and a client's when submitted to the Mahara assignment plugin in Moodle.
Changed in mahara: | |
status: | New → In Progress |
no longer affects: | mahara/20.04 |
no longer affects: | mahara/21.10 |
To post a comment you must log in.
Reviewed: https:/ /reviews. mahara. org/11855 /git.mahara. org/mahara/ mahara/ commit/ 5b2947eaea0700c 5f16615917bfe4e 3fdd4c06ab
Committed: https:/
Submitter: Gold (<email address hidden>)
Branch: master
commit 5b2947eaea0700c 5f16615917bfe4e 3fdd4c06ab
Author: Doris Tam <email address hidden>
Date: Tue Jul 13 15:12:01 2021 +1200
Bug 1926287: Disallow quick edit when a page has been submitted and locked
This is on view/view. php?id= <ID> php?id= <ID> throws an access
When we have submitted a page the view/blocks.
warning instead.
Change-Id: I5d383e632937ab 52c5b9dcd556d7a 821a17b7a41