Show group "Copy" button only when permission to create groups
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Robert Lyon | ||
16.10 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Mahara 16.10:
The group "Copy" button is visible to admins even when they are not allowed to create a group. Since copying a group is essentially creating a group, the config site's group settings should be respected.
To replicate:
1. Create 5 group manually (not via CSV).
2. Assign a regular member, an institution staff, an institution admin, a site admin to one group each as group admin. Assign all 4 to the 5th group as admins.
3. Set Admin -> Configure site -> Site options -> Group settings -> Create groups to each of the options and check the groups that only the roles selected see the group copy button and can copy the group (click the copy button and observe what happens; don't just see the copy button).
The issue around copying groups created by CSV is outlined in bug #1658393.
description: | updated |
Changed in mahara: | |
status: | Confirmed → In Progress |
assignee: | nobody → Robert Lyon (robertl-9) |
Changed in mahara: | |
status: | In Progress → Fix Committed |
tags: | added: usermanualupdate |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/7581