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