-

Note: You are currently viewing documentation for Moodle 3.10. Up-to-date documentation for the latest stable version of Moodle may be available here: Security report on default user role.

Security report on default user role: Difference between revisions

From MoodleDocs
Line 5: Line 5:
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 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.


This could also refer to a bug in Moodle. Check the ''tool/dataprivacy:requestdeleteforotheruser'' capablity in the Authenticated User role. This setting now defaults to "Not Set". If the Authenticated User role on your site has this capability set to the default "Not Set" then no further action is required. See the '''MDL-67852: Security overview report shows critical warning for "Default role for all users" with default requestdelete config''' Tracker issue and the following Using Moodle Forum discussions:
This could also refer to a bug in Moodle. Check the ''tool/dataprivacy:requestdeleteforotheruser'' capablity in the Authenticated User role. This setting now defaults to "Not Set". If the Authenticated User role on your site has this capability set to the default "Not Set" then no further action is required. See the MDL-67852: '''Security overview report shows critical warning for "Default role for all users" with default requestdelete config''' Tracker issue and the following Using Moodle Forum discussions:
 
* [https://moodle.org/mod/forum/discuss.php?d=387143 <nowiki>Security overview]</nowiki>]
* [https://moodle.org/mod/forum/discuss.php?d=387143 <nowiki>Security overview]</nowiki>]
* [https://moodle.org/mod/forum/discuss.php?d=403379 Security checks and Default role for all users]
* [https://moodle.org/mod/forum/discuss.php?d=403379 Security checks and Default role for all users]
==Reviewing authenticated user role permissions==
==Reviewing authenticated user role permissions==
The permissions for the role of authenticated user can be reviewed as follows:
The permissions for the role of authenticated user can be reviewed as follows:

Revision as of 11:17, 24 October 2022

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.

This could also refer to a bug in Moodle. Check the tool/dataprivacy:requestdeleteforotheruser capablity in the Authenticated User role. This setting now defaults to "Not Set". If the Authenticated User role on your site has this capability set to the default "Not Set" then no further action is required. See the MDL-67852: Security overview report shows critical warning for "Default role for all users" with default requestdelete config Tracker issue and the following Using Moodle Forum discussions:

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, then the role can be reset by clicking the Reset button at the top of the page.

ResetRoleButton.jpg

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

See also