Note: You are currently viewing documentation for Moodle 2.8. Up-to-date documentation for the latest stable version of Moodle may be available here: report/security/report security check defaultuserrole.

report/security/report security check defaultuserrole

From MoodleDocs
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Default role for all users

In general the default role for all users should be set to authenticated user. Normally all permissions for the role of authenticated user should be left as default.

Default user role is incorrectly defined

If the security overview report shows the default role for all users with status 'Critical' and states that 'The default user role "Authenticated user" is incorrectly defined!' it means that one or more risky capabilities are allowed for the role.

If your site is enabled for Moodle Mobile app access, then mobile web services are enabled and the capabilities webservice/xmlrpc:use and webservice/rest:use are allowed for the authenticated user role. The security overview report will show the default role for all users with status 'Critical' in this case.

Reviewing authenticated user role permissions

The permissions for the role of authenticated user can be reviewed as follows:

  1. Go to Administration > Site administration > Users > Permissions > Define roles
  2. In the role column, click the link 'Authenticated user'
  3. Browse the permissions column

If there is no reason for changing permissions from default, for example if nobody is using the Moodle Mobile app to access your site, then the role can be reset by clicking the reset button at the top of the page.

After resetting the authenticated user role, the security overview report will show the default role for all users with status OK.

See also