contact_form_permissions in core/modules/contact/contact.admin.inc
Builds a matrix of contact permissions.
file_update_1007 in core/modules/file/file.install
Grant the admin role permission to manage files and file types.
filter_admin_format_form in core/modules/filter/filter.admin.inc
Form constructor for the text format add/edit form.
node_type_form_permissions in core/modules/node/node.types.inc
Builds a matrix of node permissions for this node type.
standard_install in core/profiles/standard/standard.install
Implements hook_install().
taxonomy_vocabulary_form_permissions in core/modules/taxonomy/taxonomy.admin.inc
Builds a matrix of node permissions for this node type.
UserPermissionsTestCase::testAdministratorRole in core/modules/user/tests/user.test
Test assigning of permissions for the administrator role.
UserRoleAdminTestCase::testRoleAdministration in core/modules/user/tests/user.test
Test adding, renaming and deleting roles.
user_admin_roles in core/modules/user/user.admin.inc
Form to re-order roles or add a new one.
user_admin_roles_order_submit in core/modules/user/user.admin.inc
Form submit function. Update the role weights.
user_menu in core/modules/user/user.module
Implements hook_menu().
user_modules_installed in core/modules/user/user.module
Implements hook_modules_installed().
user_role_delete in core/modules/user/user.module
Delete a user role from database.
user_update_1003 in core/modules/user/user.install
Moves account settings from variable to config.
user_update_1007 in core/modules/user/user.install
Convert user roles to configuration files.
user_update_1019 in core/modules/user/user.install
Set the "user_admin_role" attribute to "0" (disabled) if it's missing.