Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.
/admin/roles/
FolderUp one level  
Folderclasses/
 
Foldertests/
 
Fileadmins.php      [source] [178 lines]   Select site administrators.
Fileajax.php        [source] [85 lines]    This file processes AJAX requests and returns JSON
Fileallow.php       [source] [74 lines]    Allow overriding of roles by other roles.
Fileassign.php      [source] [354 lines]   Assign roles to users.
Filecheck.php       [source] [201 lines]   Shows the result of has_capability for every capability for a user in a context.
Filedefine.php      [source] [282 lines]   Lets the user edit role definitions.
Filelib.php         [source] [54 lines]    Library code used by the roles administration interfaces.
Filemanage.php      [source] [225 lines]   Lets the user define and edit roles.
Filemanagetabs.php  [source] [35 lines]    Defines the tab bar used on the manage/allow assign/allow overrides pages.
Fileoverride.php    [source] [184 lines]   Lets you override role definitions in contexts.
Filepermissions.php [source] [251 lines]   Change permissions.
Fileusersroles.php  [source] [212 lines]   User roles report list all the users who have been assigned a particular role in all contexts.