
| Key: |
MDL-8313
|
| Type: |
Improvement
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Minor
|
| Assignee: |
Tim Hunt
|
| Reporter: |
Sam Marshall
|
| Votes: |
2
|
| Watchers: |
2
|
|
|
|
Issue Links:
|
Relates
|
|
|
|
This issue has been marked as being related by:
|
|
|
MDL-8524 Roles administration improvements - META
|
|
|
|
|
|
|
| Participants: |
Sam Marshall and Tim Hunt
|
| Security Level: |
None
|
| Resolved date: |
18/Nov/08
|
| Affected Branches: |
MOODLE_18_STABLE
|
| Fixed Branches: |
MOODLE_20_STABLE
|
|
The role system, with its four types of permission (allow/inherit/prevent/prohibit) is very difficult to understand and can cause serious confusion, mostly with people choosing 'prevent' or 'prohibit' when they shouldn't. In most cases you only ever need to choose 'Allow', or leave it at 'Inherit'. The other two are needed for rarer special cases.
I suggest that there should be a basic view for the 'define role' screen which shows checkboxes instead of the radio buttons as follows:
* If the capability is set to 'Allow', it shows a ticked checkbox
* If the capability is set to 'Inherit', it shows an unticked checkbox
* If the capability is set to something else, it shows the word 'Prevent' or 'Prohibit', with no option to change (unless you switch into advanced mode).
When you switch into advanced mode it displays as now.
This would make the role interface significantly easier to understand.
(Note that the OU may possibly have time to implement this. If moodle hq would like us to, please let me know.)
|
|
Description
|
The role system, with its four types of permission (allow/inherit/prevent/prohibit) is very difficult to understand and can cause serious confusion, mostly with people choosing 'prevent' or 'prohibit' when they shouldn't. In most cases you only ever need to choose 'Allow', or leave it at 'Inherit'. The other two are needed for rarer special cases.
I suggest that there should be a basic view for the 'define role' screen which shows checkboxes instead of the radio buttons as follows:
* If the capability is set to 'Allow', it shows a ticked checkbox
* If the capability is set to 'Inherit', it shows an unticked checkbox
* If the capability is set to something else, it shows the word 'Prevent' or 'Prohibit', with no option to change (unless you switch into advanced mode).
When you switch into advanced mode it displays as now.
This would make the role interface significantly easier to understand.
(Note that the OU may possibly have time to implement this. If moodle hq would like us to, please let me know.) |
Show » |
made changes - 15/Feb/07 06:39 AM
| Field |
Original Value |
New Value |
|
Link
|
|
This issue has been marked as being related by MDL-8524
[ MDL-8524
]
|
made changes - 27/Oct/08 05:29 PM
|
Assignee
|
Martin Dougiamas
[ dougiamas
]
|
Tim Hunt
[ timhunt
]
|
made changes - 28/Oct/08 06:51 PM
|
Fix Version/s
|
|
2.0
[ 10122
]
|
tjhunt committed 2 files to 'Moodle CVS' - 14/Nov/08 12:28 PM
role override ui: MDL-8313 refactor the page in preparation for making an non-advanced mode.
|
|
|
tjhunt committed 7 files to 'Moodle CVS' - 14/Nov/08 02:46 PM
role override ui: MDL-8313 basic mode + toggle + usability improvements
* Basic mode just hides the prohobit column. Sadly that is all we can do.
* Button to toggle in and out of advanced mode, with user_perference.
* The permission you are selected is now on the page as a label, rather than just being in a tool-tip. (Not pretty, but helpful, I think. I may change my mind on this.)
* You can click anywhere in the table cell, rather than having to hit the radio button exactly.
* Brief instructions at the top of the page.
* Submit buttons both top and bottom of the page.
|
|
|
tjhunt committed 4 files to 'Moodle CVS' - 14/Nov/08 07:38 PM
role manage ui: MDL-8313 Refactoring and clean-up prior to basic/adv manage page.
|
|
|
tjhunt committed 5 files to 'Moodle CVS' - 14/Nov/08 08:46 PM
role manage ui: MDL-8313 First version of the basic/advanced role define page.
This is being separated from manage.php. This code is only partly working. It displays (most) of a role definition, but does not yet let you save changes. However, I wanted to commit it before going home on Friday night. Since this is new code, it won't break anything.
|
|
|
martignoni committed 1 file to 'Lang CVS' - 17/Nov/08 02:43 AM
martignoni committed 1 file to 'Lang CVS' - 17/Nov/08 02:47 AM
committed 2 files to 'Lang CVS' - 17/Nov/08 02:54 AM
MDL-8313 Translated new strings for role.
|
|
|
made changes - 18/Nov/08 04:09 PM
|
Resolution
|
|
Fixed
[ 1
]
|
|
Status
|
Open
[ 1
]
|
Resolved
[ 5
]
|
tjhunt committed 10 files to 'Moodle CVS' - 18/Nov/08 04:10 PM
manage roles: MDL-8313 Provide a basic mode for the manage roles page.
* New basic define roles mode, with just an Allow checkbox for each capability.
* Button to toggle this form to/from advanced mode.
* Also, a separate mode for viewing a role definition, rather than just showing disabled checkboxes.
* Now duplicating a role just takes to you a pre-populated add role form, so you can double-check things before saving the new role.
* Deleting a role is now logged.
* Role reordering code cleaned up.
* You can now no longer delete the last role that has admin permissions.
* This includes a general refactor of manage.php, which eliminates manage.html, and splits of define.php.
|
|
|
tjhunt committed 1 file to 'Moodle CVS' - 18/Nov/08 04:53 PM
tjhunt committed 3 files to 'Moodle CVS' - 18/Nov/08 05:08 PM
manage roles: MDL-8313 fix bugs with safe overrides.
|
|
|
tjhunt committed 3 files to 'Moodle CVS' - 18/Nov/08 07:18 PM
manage roles: MDL-8313 face lift allow override/assign, and add securtiy checks!
|
|
|
tjhunt committed 3 files to 'Moodle CVS' - 18/Nov/08 07:33 PM
manage roles: MDL-8313 face lift allow override/assign, add labels and tooltips to the checkboxes for usability and accessibility.
|
|
|
committed 4 files to 'Lang CVS' - 21/Nov/08 10:06 AM
MDL-8313 MDL-16966 Translated new strings for error messages and role.
Japanese translation 6 year anniversary :-)
|
|
|
tjhunt committed 1 file to 'Moodle CVS' - 24/Nov/08 05:19 PM
override roles: MDL-8313 followup - don't show capabilities you can't change the override of in basic mode.
|
|
|
martignoni committed 2 files to 'Lang CVS' - 30/Nov/08 04:07 AM
martignoni committed 1 file to 'Lang CVS' - 30/Nov/08 04:10 AM
|