Sharing permissions for institution removed when editing institution collection details

Bug #1987354 reported by Kristina Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
21.10
Fix Released
High
Unassigned
22.04
Fix Released
High
Unassigned
22.10
Fix Released
High
Unassigned

Bug Description

When you shared an institution collection with the institution and then edit the collection 'Settings' screen, the permissions are revoked and the portfolio is not shared with the institution any more.

To replicate:

1. Add an institution.
2. Create a page and add it to a collection. Don't select auto-copy for the collection.
3. Share the collection with the entire institution (and also registered account holders).
4. Edit the collection title and save the change.

Results:
- Expected: Sharing permissions persist and are not changed.
- Actual: The sharing permission for the institution is lost whereas the one for registered account holders is retained.

I don't see any reason why the sharing permissions should be removed. they should stay.

tags: added: regression
Revision history for this message
Robert Lyon (robertl-9) wrote :
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/c/mahara/+/13138
Committed: https://git.mahara.org/mahara/mahara/commit/a279018ef3118de3bf403c1a3c7603eafca15d99
Submitter: "Robert Lyon <email address hidden>"
Branch: main

commit a279018ef3118de3bf403c1a3c7603eafca15d99
Author: veronicavarsha <email address hidden>
Date: Wed Sep 7 14:45:44 2022 +1200

Bug #1987354: Adding checks to fix share permissions removal on editing institution collection

Signed-off-by: veronicavarsha <email address hidden>
Change-Id: I0cccb9642115e5ca2bc64b03ef0816b4bca28697

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "22.04_DEV" branch: https://reviews.mahara.org/c/mahara/+/13146

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "21.10_DEV" branch: https://reviews.mahara.org/c/mahara/+/13147

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/c/mahara/+/13147
Committed: https://git.mahara.org/mahara/mahara/commit/74d8080800b7075560cbbec2ad6910c4e9bce194
Submitter: "Robert Lyon <email address hidden>"
Branch: 21.10_DEV

commit 74d8080800b7075560cbbec2ad6910c4e9bce194
Author: veronicavarsha <email address hidden>
Date: Wed Sep 7 14:45:44 2022 +1200

Bug #1987354: Adding checks to fix share permissions removal on editing institution collection

Signed-off-by: veronicavarsha <email address hidden>
Change-Id: I0cccb9642115e5ca2bc64b03ef0816b4bca28697
(cherry picked from commit a279018ef3118de3bf403c1a3c7603eafca15d99)

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/c/mahara/+/13146
Committed: https://git.mahara.org/mahara/mahara/commit/a900ed563dfe08c6877b685dd64f5c16722e2417
Submitter: "Robert Lyon <email address hidden>"
Branch: 22.04_DEV

commit a900ed563dfe08c6877b685dd64f5c16722e2417
Author: veronicavarsha <email address hidden>
Date: Wed Sep 7 14:45:44 2022 +1200

Bug #1987354: Adding checks to fix share permissions removal on editing institution collection

Signed-off-by: veronicavarsha <email address hidden>
Change-Id: I0cccb9642115e5ca2bc64b03ef0816b4bca28697
(cherry picked from commit a279018ef3118de3bf403c1a3c7603eafca15d99)

no longer affects: mahara
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.