Search for permissions

  1. Search 9.5.x for permissions
  2. Search 8.9.x for permissions
  3. Search 10.3.x for permissions
  4. Search 11.x for permissions
  5. Other projects
Title Object type File name Summary
DrupalWebTestCase::checkPermissions function modules/simpletest/drupal_web_test_case.php Check to make sure that the array of permissions are valid.
FileTestCase::assertDirectoryPermissions function modules/simpletest/tests/file.test Helper function to test the permissions of a directory.
FileTestCase::assertFilePermissions function modules/simpletest/tests/file.test Helper function to test the permissions of a file.
FILE_MODIFY_PERMISSIONS constant includes/file.inc Flag used by file_prepare_directory() -- file permissions may be changed.
FilterFormatAccessTestCase::testFormatPermissions function modules/filter/filter.test Tests the Filter format access permissions functionality.
FilterFormatAccessTestCase::testFormatWidgetPermissions function modules/filter/filter.test Tests editing a page using a disallowed text format.
NodeRevisionPermissionsTestCase class modules/node/node.test Tests user permissions for node revisions.
NodeRevisionPermissionsTestCase::$accounts property modules/node/node.test Users with different revision permission used by the test.
NodeRevisionPermissionsTestCase::$map property modules/node/node.test Map revision permission names to node revision access ops.
NodeRevisionPermissionsTestCase::$node_revisions property modules/node/node.test Nodes used by the test.
NodeRevisionPermissionsTestCase::getInfo function modules/node/node.test
NodeRevisionPermissionsTestCase::setUp function modules/node/node.test Sets up a Drupal site for running functional and integration tests.
NodeRevisionPermissionsTestCase::testNodeRevisionAccess function modules/node/node.test Tests the _node_revision_access() function.
node_list_permissions function modules/node/node.module Helper function to generate standard node permission list for a given type.
node_permissions_get_configured_types function modules/node/node.module Returns an array of node types that should be managed by permissions.
SearchCommentTestCase::setRolePermissions function modules/search/search.test Set permissions for role.
theme_user_admin_permissions function modules/user/user.admin.inc Returns HTML for the administer permissions page.
UserPermissionsTestCase class modules/user/user.test
UserPermissionsTestCase::$admin_user property modules/user/user.test
UserPermissionsTestCase::$rid property modules/user/user.test
UserPermissionsTestCase::getInfo function modules/user/user.test
UserPermissionsTestCase::setUp function modules/user/user.test Sets up a Drupal site for running functional and integration tests.
UserPermissionsTestCase::testAdministratorRole function modules/user/user.test Test assigning of permissions for the administrator role.
UserPermissionsTestCase::testUserPermissionChanges function modules/user/user.test Change user permissions and check user_access().
UserPermissionsTestCase::testUserRoleChangePermissions function modules/user/user.test Verify proper permission changes by user_role_change_permissions().
user_admin_permissions function modules/user/user.admin.inc Menu callback: administer permissions.
user_admin_permissions_submit function modules/user/user.admin.inc Save permissions selected on the administer permissions page.
user_role_change_permissions function modules/user/user.module Change permissions for a user role.
user_role_grant_permissions function modules/user/user.module Grant permissions to a user role.
user_role_permissions function modules/user/user.module Determine the permissions for one or more roles.
user_role_revoke_permissions function modules/user/user.module Revoke permissions from a user role.
_update_7000_user_role_grant_permissions function modules/user/user.install Utility function: grant a set of permissions to a role during update.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.