Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Redesigning the override roles page: Difference between revisions

From MoodleDocs
(New page: It is widely reported that people don't understand the override permissions page. Here is a mock-up of and alternative interface. The idea would be to have this as a basic version of the i...)
 
No edit summary
Line 2: Line 2:


What follows is a the mock-up of how this page could look, specifically what a teacher would see when overriding the Student role.
What follows is a the mock-up of how this page could look, specifically what a teacher would see when overriding the Student role.
__NOTOC__


-----
-----
Line 9: Line 11:
==Adjust permissions for role 'Student' in Course: Roles 101==
==Adjust permissions for role 'Student' in Course: Roles 101==


By default, there are certain capabilities that a 'Student' has permission to do in this context, and certain other things that they do not have permission for. This page lets you change some of those defaults.
By default, a 'Student' has permission to perform certain capabilities in this context, and does not have permission to do certain others. This page lets you change some of those defaults.


=== A Student may ===
=== By default, a Student may ===


[ Save changes ]  [ Cancel ]  [ Show advanced ]
[ Save changes ]  [ Cancel ]  [ Show advanced ]
Line 17: Line 19:
Search [______] [ Clear ]
Search [______] [ Clear ]
{|
{|
! Capability !! Permission !! Risks
! Capability !! Change permission !! Risks
|-
|-
| Reply to forum posts || [ ] Change to prevent || [Risk icons]
| Reply to forum posts || [ ] Prevent || [Risk icons]
|-
|-
| Start a discussion || [ ] Change to prevent ||
| Start a discussion || [ ] Prevent ||
|-
|-
| Attempt a quiz || [ ] Change to prevent ||
| Attempt a quiz || [ ] Prevent ||
|-
|-
| ...
| ...
Line 30: Line 32:
[ Save changes ]  [ Cancel ]  [ Show advanced ]
[ Save changes ]  [ Cancel ]  [ Show advanced ]


=== A Student may not ===
=== and a Student may not ===


Search [______] [ Clear ]
Search [______] [ Clear ]
{|
{|
! Capability !! Permission !! Risks
! Capability !! Change permission !! Risks
|-
|-
| Access all groups || [ ] Change to allow ||
| Access all groups || [ ] Allow ||
|-
|-
| Delete forum posts || [ ] Change to allow ||
| Delete forum posts || [ ] Allow ||
|-
|-
| Split discussions || [ ] Change to allow ||
| Split discussions || [ ] Allow ||
|-
|-
| ...
| ...
Line 49: Line 51:
Note that there are some other things that a Student cannot do here that you are not allowed to change: [Click to display...]
Note that there are some other things that a Student cannot do here that you are not allowed to change: [Click to display...]


You should be aware that this page only lets you make simple adjustments to permissions. It also makes some assumptions to determine what a typical Student can and cannot do. If you have a more complicated configuration of roles and and role assignments, you many need to use the Check permissions tab above to see what a particular student can or cannot do, and you many need to switch this page to advanced mode.
You should be aware that this page only lets you make simple adjustments to permissions and it relies on some assumptions to determine what a typical Student can and cannot do. If you have a more complicated configuration of roles and and role assignments, you many need to use the Check permissions tab above to see what a particular student can or cannot do, and you many need to switch this page to advanced mode.
 


-----
-----
Line 60: Line 61:
==Further notes==
==Further notes==


The submit buttons actually submit the whole page, not just one section. They are repeated so there are always some nearby to minimise scrolling.
In case it is not obvious: / Manage participants \ is a tab, [______] is a text box, [ Clear ] is a button, [ ] is a check-box.
 
The submit buttons actually submit the whole page, not just one section. They are repeated so there are always some near by to minimise scrolling.


Note, that as part of this change, I am proposing that people who only have permission to make 'Safe overrides' are allowed to set an override of Prevent for any capability.
Note, that as part of this change, I am proposing that people who only have permission to make 'Safe overrides' are allowed to set an override of Prevent for any capability.


In order to show what a Student can and cannot do, we will make the same assumption that the Switch role option makes to show Teaches what a typical Student will see. That is, that a typically student has the 'Logged in user' role assigned in the system context, and the Student role assigned in the course context.  
In order to show what a Student can and cannot do, we will make the same assumption that the Switch role option makes to show Teaches what a typical Student will see. That is, that a typically student has the 'Authenticated user' role assigned in the system context, and the 'Student' role assigned in the course context.  


The [Click to display...] link would by a JavaScript thing, not a page reload. With JavaScript off, the list of capabilities here would always be visible.
The [Click to display...] link would by a JavaScript thing, not a page reload. With JavaScript off, the list of capabilities here would always be visible.

Revision as of 14:38, 15 November 2008

It is widely reported that people don't understand the override permissions page. Here is a mock-up of and alternative interface. The idea would be to have this as a basic version of the interface, with a 'Show advanced' button to take you to the current interface. Also, not that I am using the proposed new name 'Adjust permissions'. Remember that we now have 'Safe overrides' which means that teachers can change the permissions for some, but not all, capabilities.

What follows is a the mock-up of how this page could look, specifically what a teacher would see when overriding the Student role.



/ Manage participants \ / Adjust permissions \ / Check permissions \

Adjust permissions for role 'Student' in Course: Roles 101

By default, a 'Student' has permission to perform certain capabilities in this context, and does not have permission to do certain others. This page lets you change some of those defaults.

By default, a Student may

[ Save changes ] [ Cancel ] [ Show advanced ]

Search [______] [ Clear ]

Capability Change permission Risks
Reply to forum posts [ ] Prevent [Risk icons]
Start a discussion [ ] Prevent
Attempt a quiz [ ] Prevent
...

[ Save changes ] [ Cancel ] [ Show advanced ]

and a Student may not

Search [______] [ Clear ]

Capability Change permission Risks
Access all groups [ ] Allow
Delete forum posts [ ] Allow
Split discussions [ ] Allow
...

[ Save changes ] [ Cancel ] [ Show advanced ]

Note that there are some other things that a Student cannot do here that you are not allowed to change: [Click to display...]

You should be aware that this page only lets you make simple adjustments to permissions and it relies on some assumptions to determine what a typical Student can and cannot do. If you have a more complicated configuration of roles and and role assignments, you many need to use the Check permissions tab above to see what a particular student can or cannot do, and you many need to switch this page to advanced mode.


That is the end of the mock-up.

Well, there would be a standard footer, and the stuff that is currently at the bottom of the override roles page.

Further notes

In case it is not obvious: / Manage participants \ is a tab, [______] is a text box, [ Clear ] is a button, [ ] is a check-box.

The submit buttons actually submit the whole page, not just one section. They are repeated so there are always some near by to minimise scrolling.

Note, that as part of this change, I am proposing that people who only have permission to make 'Safe overrides' are allowed to set an override of Prevent for any capability.

In order to show what a Student can and cannot do, we will make the same assumption that the Switch role option makes to show Teaches what a typical Student will see. That is, that a typically student has the 'Authenticated user' role assigned in the system context, and the 'Student' role assigned in the course context.

The [Click to display...] link would by a JavaScript thing, not a page reload. With JavaScript off, the list of capabilities here would always be visible.

See also