NodeTypeTestCase::testNodeTypePermissions in core/modules/node/tests/node.test
Tests that node types permissions are correctly set from the Node Type UI.
TaxonomyVocabularyFunctionalTest::testVocabularyPermissions in core/modules/taxonomy/tests/taxonomy.test
Tests that vocabulary permissions are correctly set from the Taxonomy UI.
UserPermissionsTestCase::testAdministratorRole in core/modules/user/tests/user.test
Test assigning of permissions for the administrator role.
UserPermissionsTestCase::testEditorRole in core/modules/user/tests/user.test
Test assigning of permissions for the editor role.
UserPermissionsTestCase::testUserPermissionChanges in core/modules/user/tests/user.test
Change user permissions and check user_access().
UserRoleAdminTestCase::testRoleAdministration in core/modules/user/tests/user.test
Test adding, renaming and deleting roles.
UserRoleAdminTestCase::testRoleWeightChange in core/modules/user/tests/user.test
Test user role weight change operation.
user_role_delete in core/modules/user/user.module
Delete a user role from database.
user_role_save in core/modules/user/user.module
Save a user role to the database.