Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Roles settings.

Roles settings: Difference between revisions

From MoodleDocs
(Allow users without the assign roles capability to switch roles)
(→‎User policies: Gravatar setting in 2.2)
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Location: ''Administration > Users > Permissions > User policies'' (in Moodle 1.7 onwards)
{{Roles}}
==User policies==
The following settings may be changed by an administrator in ''Settings > Site administration > Users > Permissions > User policies''.


===Role for visitors===
Users who are not logged in to the site will be treated as if they have the role specified here, granted to them at the site context. The role of Guest is the default and the recommended setting for standard Moodle sites. The user will still be required to login to participate in an activity.


==Default role for all users==
===Role for guest===
This option specifies the role that will automatically be assigned to the guest user. This role is also temporarily assigned to non enrolled users when they enter a course that allows guests without password.
 
===Default role for all users===


The default role for all users should normally be set to [[Authenticated user]]. If it is set to Student then the result is that all students are enrolled on all courses.
The default role for all users should normally be set to [[Authenticated user]]. If it is set to Student then the result is that all students are enrolled on all courses.


Note: The default role for all users should ''never'' be set to [[Guest]], except in Moodle 1.7, as this version does not have an authenticated user role.
Note: The default role for all users should ''never'' be set to [[Guest]].


==Auto-login guest==
===Auto-login guest===


If not set, then visitors must click the "Login as a guest" button before entering a course which allows [[Guest|guest access]].
If not set, then visitors must click the "Login as a guest" button before entering a course which allows [[Guest|guest access]].


Note: If auto-login guest is set, the guest login button also needs to be set to show (via ''Administration > Users > [[Authentication]]''), even though visitors won't necessarily use it.
Note: If auto-login guest is set, the guest login button also needs to be set to show (in ''Settings > Site administration > Plugins > Authentication > Manage authentication''), even though visitors won't necessarily use it.
 
==Roles that are not synchronised to metacourses==


[[Metacourses]] combine enrolments from multiple courses. You will probably want users to have the same role in the metacourse as in the normal courses. If not, select the roles which should not be synchronised.
===Hide user fields===
The following user fields appear on users' profile pages. Certain user fields are also listed on the course participants page. You can increase student privacy by hiding selected user fields.


==Hide user fields==
Description, city/town, country, web page, ICQ number, Skype ID, Yahoo ID, AIM ID, MSN ID, last access, My courses and first access and groups
User fields - description, city/town, country, web page, ICQ number, Skype ID, Yahoo ID, AIM ID, MSN ID and last access - appear on users' profile pages. Certain user fields are also listed on the course participants page. You can increase student privacy by hiding selected user fields.


*User fields on users' profile pages are hidden from all users with the capability [[Capabilities/moodle/user:viewhiddendetails|moodle/user:viewhiddendetails]] not set.
*User fields on users' profile pages are hidden from all users with the capability [[Capabilities/moodle/user:viewhiddendetails|moodle/user:viewhiddendetails]] not set.
*User fields on the course participants page are hidden from all users with the capability [[Capabilities/moodle/course:viewhiddenuserfields|moodle/course:viewhiddenuserfields]] not set.
*User fields on the course participants page are hidden from all users with the capability [[Capabilities/moodle/course:viewhiddenuserfields|moodle/course:viewhiddenuserfields]] not set.


==Allow users without the assign roles capability to switch roles==
===Enable Gravatar===


The [[Capabilities/moodle/role:assign|moodle/role:assign]] capability requirement for users to switch roles may be removed in Moodle 1.9.5 onwards.
{{Moodle 2.2}}If enabled Moodle will check whether a user's email address has an associated avatar at Gravatar. If so, and the user has not uploaded an image, the Gravatar will be displayed.


==See also==
==Unsupported role assignments==


*[[Front Page settings]] for setting the default front page role in Moodle 1.9 onwards
Unsupported role assignments are role assignments in contexts that are not marked as suitable for that role, such as course creator in activity or course, or teacher in the user context.  


[[Category:Administrator]]
An administrator can check for any unsupported role assignments across the site in ''Settings > Site administration > Users > Permissions > Unsupported role assignments''.
[[Category:Roles]]


[[fr:Règles Utilisateurs]]
[[fr:Règles Utilisateurs]]
[[ja:ユーザポリシー]]
[[ja:ユーザポリシー]]

Latest revision as of 13:27, 4 November 2011


User policies

The following settings may be changed by an administrator in Settings > Site administration > Users > Permissions > User policies.

Role for visitors

Users who are not logged in to the site will be treated as if they have the role specified here, granted to them at the site context. The role of Guest is the default and the recommended setting for standard Moodle sites. The user will still be required to login to participate in an activity.

Role for guest

This option specifies the role that will automatically be assigned to the guest user. This role is also temporarily assigned to non enrolled users when they enter a course that allows guests without password.

Default role for all users

The default role for all users should normally be set to Authenticated user. If it is set to Student then the result is that all students are enrolled on all courses.

Note: The default role for all users should never be set to Guest.

Auto-login guest

If not set, then visitors must click the "Login as a guest" button before entering a course which allows guest access.

Note: If auto-login guest is set, the guest login button also needs to be set to show (in Settings > Site administration > Plugins > Authentication > Manage authentication), even though visitors won't necessarily use it.

Hide user fields

The following user fields appear on users' profile pages. Certain user fields are also listed on the course participants page. You can increase student privacy by hiding selected user fields.

Description, city/town, country, web page, ICQ number, Skype ID, Yahoo ID, AIM ID, MSN ID, last access, My courses and first access and groups

Enable Gravatar

Moodle 2.2

If enabled Moodle will check whether a user's email address has an associated avatar at Gravatar. If so, and the user has not uploaded an image, the Gravatar will be displayed.

Unsupported role assignments

Unsupported role assignments are role assignments in contexts that are not marked as suitable for that role, such as course creator in activity or course, or teacher in the user context.

An administrator can check for any unsupported role assignments across the site in Settings > Site administration > Users > Permissions > Unsupported role assignments.