Search for permissions

  1. Search 7.x for permissions
  2. Search 9.5.x for permissions
  3. Search 10.3.x for permissions
  4. Search 11.x for permissions
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Permissions class core/modules/content_moderation/src/Permissions.php Defines a class for dynamic permissions based on transitions.
Permissions class core/modules/user/src/Plugin/views/field/Permissions.php Field handler to provide a list of permissions.
Permissions class core/modules/user/src/Plugin/views/filter/Permissions.php Filter handler for user roles.

All search results

Title Object type File name Summary
NodePermissions class core/modules/node/src/NodePermissions.php Provides dynamic permissions for nodes of different types.
NodePermissions.php file core/modules/node/src/NodePermissions.php
NodePermissions::buildPermissions function core/modules/node/src/NodePermissions.php Returns a list of node permissions for a given node type.
NodePermissions::nodeTypePermissions function core/modules/node/src/NodePermissions.php Returns an array of node type permissions.
NodeRevisionPermissionsTest class core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php Tests user permissions for node revisions.
NodeRevisionPermissionsTest.php file core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php
NodeRevisionPermissionsTest::$accounts property core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php The accounts.
NodeRevisionPermissionsTest::$defaultTheme property core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php The theme to install as the default for testing.
NodeRevisionPermissionsTest::$map property core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php
NodeRevisionPermissionsTest::$nodeRevisions property core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php The node revisions.
NodeRevisionPermissionsTest::$typeMap property core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php
NodeRevisionPermissionsTest::setUp function core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php
NodeRevisionPermissionsTest::testNodeRevisionAccessAnyType function core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php Tests general revision access permissions.
NodeRevisionPermissionsTest::testNodeRevisionAccessPerType function core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php Tests revision access permissions for a specific content type.
NodeTest::getIncludePermissions function core/modules/jsonapi/tests/src/Functional/NodeTest.php Authorize the user under test with additional permissions to view includes.
NodeTranslationUITest::getAdministratorPermissions function core/modules/node/tests/src/Functional/NodeTranslationUITest.php Returns an array of permissions needed for the administrator.
NodeTranslationUITest::getEditorPermissions function core/modules/node/tests/src/Functional/NodeTranslationUITest.php Returns an array of permissions needed for the editor.
NodeTranslationUITest::getTranslatorPermissions function core/modules/node/tests/src/Functional/NodeTranslationUITest.php Returns an array of permissions needed for the translator.
NodeTypeTest::testNodeTypeFieldUiPermissions function core/modules/node/tests/src/Functional/NodeTypeTest.php Tests Field UI integration for content types.
node_access_test.permissions.yml file core/modules/node/tests/modules/node_access_test/node_access_test.permissions.yml core/modules/node/tests/modules/node_access_test/node_access_test.permissions.yml
PageCacheTest::testPageCacheAnonymousRolePermissions function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests the automatic presence of the anonymous role's cache tag.
path.permissions.yml file core/modules/path/path.permissions.yml core/modules/path/path.permissions.yml
PermissionHandler::buildPermissionsYaml function core/modules/user/src/PermissionHandler.php Builds all permissions provided by .permissions.yml files.
PermissionHandler::getPermissions function core/modules/user/src/PermissionHandler.php Gets all available permissions.
PermissionHandler::moduleProvidesPermissions function core/modules/user/src/PermissionHandler.php Determines whether a module provides some permissions.
PermissionHandler::sortPermissions function core/modules/user/src/PermissionHandler.php Sorts the given permissions by provider name and title.
PermissionHandlerInterface::getPermissions function core/modules/user/src/PermissionHandlerInterface.php Gets all available permissions.
PermissionHandlerInterface::moduleProvidesPermissions function core/modules/user/src/PermissionHandlerInterface.php Determines whether a module provides some permissions.
PermissionHandlerTest::assertPermissions function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Checks that the permissions are like expected.
PermissionHandlerTest::testBuildPermissionsSortPerModule function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Tests permissions sort inside a module.
PermissionHandlerTest::testBuildPermissionsYaml function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Tests permissions provided by YML files.
PermissionHandlerTest::testBuildPermissionsYamlCallback function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Tests dynamic callback permissions provided by YML files.
PermissionHandlerTest::testPermissionsYamlStaticAndCallback function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Tests a YAML file containing both static permissions and a callback.
Permissions class core/modules/content_moderation/src/Permissions.php Defines a class for dynamic permissions based on transitions.
Permissions class core/modules/user/src/Plugin/views/field/Permissions.php Field handler to provide a list of permissions.
Permissions class core/modules/user/src/Plugin/views/filter/Permissions.php Filter handler for user roles.
Permissions.php file core/modules/content_moderation/src/Permissions.php
Permissions.php file core/modules/user/src/Plugin/views/field/Permissions.php
Permissions.php file core/modules/user/src/Plugin/views/filter/Permissions.php
Permissions::$moduleHandler property core/modules/user/src/Plugin/views/field/Permissions.php The module handler.
Permissions::$moduleHandler property core/modules/user/src/Plugin/views/filter/Permissions.php The module handler.
Permissions::$permissionHandler property core/modules/user/src/Plugin/views/filter/Permissions.php The permission handler.
Permissions::$roleStorage property core/modules/user/src/Plugin/views/field/Permissions.php The role storage.
Permissions::create function core/modules/user/src/Plugin/views/field/Permissions.php Creates an instance of the plugin.
Permissions::create function core/modules/user/src/Plugin/views/filter/Permissions.php Creates an instance of the plugin.
Permissions::getValueOptions function core/modules/user/src/Plugin/views/filter/Permissions.php Child classes should be used to override this function and set the
'value options', unless 'options callback' is defined as a valid function
or static public method to generate these values.
Permissions::init function core/modules/user/src/Plugin/views/field/Permissions.php Initialize the plugin.
Permissions::preRender function core/modules/user/src/Plugin/views/field/Permissions.php Runs before any fields are rendered.
Permissions::query function core/modules/user/src/Plugin/views/field/Permissions.php Called to add the field to a query.
Permissions::query function core/modules/user/src/Plugin/views/filter/Permissions.php Replace the configured permission with a filter by all roles that have this
permission.

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