Check skin before when copying a page

Bug #1844199 reported by Cecilia Vela Gurovic
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Kevin Dibble

Bug Description

When creating a site/group/institution page, we should not be allowing to choose from "My skins".

When copying a page, there should be a check to see if the user that wants to copy has access to the skin. If not, the skin should not be included in the new page.

Tags: skins
description: updated
Changed in mahara:
status: New → Confirmed
importance: Undecided → Medium
tags: added: skin
tags: added: skins
removed: skin
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/10351

Changed in mahara:
assignee: nobody → Kevin Dibble (digitalskill)
Revision history for this message
Robert Lyon (robertl-9) wrote :

I was going to write up which pages should get which skin types but the current system seems to be fine to me.

Is there a reason why we want to restrict certain skins from site/institution/group pages?

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

The personal skins are owned by a person and thus are not accessible when a page is copied into a group. When another group member wants to edit the page, e.g. the page title, they can't and it's due to the skin having been a private one. Thus, the removal of the skin to prevent issues in other contexts.

Changed in mahara:
milestone: none → 19.10.0
Changed in mahara:
status: Confirmed → In Progress
Changed in mahara:
milestone: 19.10.0 → 19.10.1
Changed in mahara:
milestone: 19.10.1 → 20.04.0
Changed in mahara:
milestone: 20.04.0 → 20.10.0
Changed in mahara:
milestone: 20.10.0 → 21.04.0
Changed in mahara:
milestone: 21.04.0 → 21.10.0
Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "main" branch: https://reviews.mahara.org/12080

Robert Lyon (robertl-9)
Changed in mahara:
milestone: 21.10.0 → 22.04.0
Robert Lyon (robertl-9)
Changed in mahara:
milestone: 22.04.0 → 22.04rc2
Changed in mahara:
milestone: 22.04rc2 → 22.10.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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

commit 4d0074d5b1262cd72bbcd0f4e3a8097f2c513fb1
Author: Kevin Dibble <email address hidden>
Date: Tue Sep 17 16:52:24 2019 +1200

Bug 1844199: My Skins to not appear.

When creating a group, site or institute page
to not show the users personal skins.

behatnotneeded

Change-Id: I3cea0e86cf884a8e1183147d9038147401885c22
Signed-off-by: Robert Lyon <email address hidden>

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Doris Tam (doristam)
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.