Issue Details (XML | Word | Printable)

Key: MDL-17067
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Tim Hunt
Reporter: Tim Hunt
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Make it clear in the UI that adminitrators may not unassign themselves

Created: 30/Oct/08 11:04 AM   Updated: 30/Oct/08 07:49 PM
Return to search
Component/s: Administration, Roles
Affects Version/s: 2.0
Fix Version/s: 2.0

Participants: Tim Hunt
Security Level: None
Resolved date: 30/Oct/08
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
Moodle 1.6 prevented admins from unassigning the admin role form themself. We should reinstate that feature, it stops a number of screw-ups:

* It means that there is always at least one admin
* It means you cannot hand over admin responsibility to someone else until you have shown them at least how to unassign the admin role from yourself.


 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Tim Hunt added a comment - 30/Oct/08 07:36 PM
Actually, the back end was not letting admins unassign themself, but the UI did not make that clear in any way.

Tim Hunt made changes - 30/Oct/08 07:48 PM
Field Original Value New Value
Summary Don't let adminitrators unassign themselves Make it clear in the UI that adminitrators may not unassign themselves
Tim Hunt made changes - 30/Oct/08 07:49 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
tjhunt committed 11 files to 'Moodle CVS' - 30/Oct/08 07:49 PM
user selection: MDL-16993 Convert the assign roles page to use the new components.

At the same time, I took the opportunity to try to work on some of the usability issues on this page. Note that I have not quite finished! So don't comment until tomorrow.

In the course of doing this, I also did: half of

MDL-11529 Show the number of assignees of each role in the change role dropdown on this page.
MDL-17067 Make it clear in the UI that admins are not allowed to unassign themselves.
MODIFY user/selector/search.php   Rev. 1.3    (+29 -6 lines)
MODIFY admin/roles/roles.js   Rev. 1.2    (+14 -0 lines)
DEL admin/roles/Attic/assign.html   Rev. 1.37    (+0 -0 lines)
MODIFY group/members.php   Rev. 1.17    (+3 -3 lines)
MODIFY lang/en_utf8/error.php   Rev. 1.137    (+2 -1 lines)
MODIFY user/selector/script.js   Rev. 1.7    (+6 -21 lines)
MODIFY lib/accesslib.php   Rev. 1.527    (+30 -2 lines)
MODIFY theme/standard/styles_layout.css   Rev. 1.623    (+58 -16 lines)
MODIFY admin/roles/assign.php   Rev. 1.85    (+160 -231 lines)
MODIFY lang/en_utf8/role.php   Rev. 1.69    (+9 -1 lines)
MODIFY user/selector/lib.php   Rev. 1.8    (+268 -26 lines)