Note: You are currently viewing documentation for Moodle 3.6. Up-to-date documentation for the latest stable version of Moodle is likely available here: Guest role.

Guest role: Difference between revisions

From MoodleDocs
(→‎See also: removing old discussion link)
 
(18 intermediate revisions by 9 users not shown)
Line 1: Line 1:
==Guest access==
{{Standard roles}}
==The guest account==


Moodle has a built-in "Guest account". Visitors can log in as guests using the "Login as a guest" button on the login screen and enter any courses which allow guest access. In addition, logged-in users can enter any courses which allow guest access without being required to enrol.
Moodle has a built-in "Guest account". Visitors can log in as guests using the "Login as a guest" button on the login screen and enter any courses which allow guest access. In addition, logged-in users can enter any courses which allow guest access without being required to enrol.
Line 10: Line 11:
* Edit [[Wiki module|wiki]] pages
* Edit [[Wiki module|wiki]] pages
* Participate in a [[Chat module|chat]]
* Participate in a [[Chat module|chat]]
* Take [[Quiz|quizzes]]
* Take [[Quiz|quizzes]] or [[Questionnaire]] (or [[Feedback]])
* Submit [[Assignment|assignments]]
* Submit [[Assignment|assignments]]
* Contribute [[Glossary|glossary]] entries or comments
* Add [[Glossary|glossary]] or [[Database activity module|database activity]] entries or comments
* View [[SCORM]] content (because progress not tracked for a guest)
* Receive any scores or grades (because of the read-only access)
* Receive any scores or grades (because of the read-only access)


This feature can be handy when you want to let a colleague in to look around at your work, or to let students see a course before they have decided to enrol.
This feature can be handy when you want to let a colleague in to look around at your work, or to let students see a course before they have decided to enrol.
Note that you have a choice between two types of guest access: with an [[Enrolment key|enrolment key]] or without. If you choose to allow guests who have the key, then the guest will need to provide the current enrolment key EVERY TIME they log in (unlike students who only need to do it once). This lets you restrict which guests can get into a course. If you choose to allow guests to enter without a key, then anyone can get into your course.


If you want guests to be able to take quizzes, or any of the other activities listed above, and have considered the security implications, you can create a visitor account, say with username = password = visitor, for everyone to share.
If you want guests to be able to take quizzes, or any of the other activities listed above, and have considered the security implications, you can create a visitor account, say with username = password = visitor, for everyone to share.


==Enabling guest access==
==Enabling guest access==
To allow guests into courses on your Moodle, see [[Guest_access|Guest access]].


To enable guest access to a Moodle site, the guest login button should be set to "show" by an admin in ''Administration > Users > [[Authentication]]''.
==Skip login page for guest account==
 
Teachers can then set whether their courses allow guest access in the [[Course settings|course settings]].
 
To allow visitors to be logged in as guests automatically when entering courses with guest access, the ''autologinguests'' box should be checked by an admin in ''Administration > Users > Permissions > [[User policies]]''.
 
==Disabling guest access==
 
Guest access for visitors can be disabled by hiding the guest login button in ''Administration > Users > [[Authentication]]''. If any courses allow guest access, then only logged-in users will be able to enter them.
 
==Self-enrolment==
 
Sometimes you may wish to allow people to have a more interactive engagement with a course without you having to enrol them in advance. In this case you can enable "self-enrolment" for your course. This allows anyone with a user account on your Moodle server to become a student on your course. As with guest access, you can use the [[enrolment key]] to limit this only to people to whom you have given the key.
 
==Skip login page by URL==
 
When you want get URL for external peoples to view You moodle pages witch allowed guest access, you can add to one simple URL parameter ''username=guest'' to skip login page and automatically login this users as Guests.
 
For example, this URL will be ask user to login before display Welcome page of the "Using Moodle" cource:
* http://moodle.org/mod/resource/view.php?id=1361
But this URL make visitor logged in as Guest and display required page immediately:
* [http://moodle.org/mod/resource/view.php?id=1361&username=guest  http://moodle.org/mod/resource/view.php?id=1361'''&username=guest''']
Note: if user try to go to login directly from page, opened by this URL, he can't do it because login page will be return him to that URL back and relogin to Guest again. It can be frustrating, and because this, use this method only in links for really external visitors. <!-- May be it is a BUG and login page must to cut this parameter from return URL? -->
 
==See also==
 
Using Moodle forum discussions:
*[http://moodle.org/mod/forum/discuss.php?d=56914 Change in self-enrolment procedure and status of course visitors]
*[http://moodle.org/mod/forum/discuss.php?d=69674 Allowing guests to post in forum?]


[[Category:Roles]]
All users will be automatically logged in as guests if you enable ''Auto-login guests'' in ''Administration > Site administration > Users > Permissions > User policies''. The standard login page is displayed after users visit page that requires real user login.


[[fr:Accès invité]]
[[fr:Visiteur anonyme]]
[[ja:ゲストアクセス]]
[[ja:ゲストアクセス]]
[[de:Gast-Rolle]]
[[de:Gast-Rolle]]
[[es:Rol de invitado]]

Latest revision as of 06:39, 22 June 2017

The guest account

Moodle has a built-in "Guest account". Visitors can log in as guests using the "Login as a guest" button on the login screen and enter any courses which allow guest access. In addition, logged-in users can enter any courses which allow guest access without being required to enrol.

Guests ALWAYS have "read-only" access - meaning they can't leave any posts or otherwise mess up the course for real students.

They cannot:

This feature can be handy when you want to let a colleague in to look around at your work, or to let students see a course before they have decided to enrol.

If you want guests to be able to take quizzes, or any of the other activities listed above, and have considered the security implications, you can create a visitor account, say with username = password = visitor, for everyone to share.

Enabling guest access

To allow guests into courses on your Moodle, see Guest access.

Skip login page for guest account

All users will be automatically logged in as guests if you enable Auto-login guests in Administration > Site administration > Users > Permissions > User policies. The standard login page is displayed after users visit page that requires real user login.