Search for permissions

  1. Search 7.x for permissions
  2. Search 9.5.x for permissions
  3. Search 8.9.x for permissions
  4. Search 10.3.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
ModerationFormTest::getAdministratorPermissions function core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php
ModerationLocaleTest::getAdministratorPermissions function core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php
ModerationStateBlockTest::getAdministratorPermissions function core/modules/content_moderation/tests/src/Functional/ModerationStateBlockTest.php
ModerationStateNodeTest::testNoContentModerationPermissions function core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTest.php Tests the workflow when a user has no Content Moderation permissions.
ModerationStateTestBase::$permissions property core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php Permissions to grant admin user.
ModulePermissionsLinkHelper class core/modules/user/src/ModulePermissionsLinkHelper.php Provides a helper for generating module permissions links.
ModulePermissionsLinkHelper.php file core/modules/user/src/ModulePermissionsLinkHelper.php
ModulePermissionsLinkHelper::getModulePermissionsLink function core/modules/user/src/ModulePermissionsLinkHelper.php Generates a link pointing to a given module's permissions page section.
ModulePermissionsLinkHelper::__construct function core/modules/user/src/ModulePermissionsLinkHelper.php Constructs a new service instance.
ModulePermissionsLinkHelperTest class core/modules/user/tests/src/Kernel/ModulePermissionsLinkHelperTest.php Tests the ModulePermissionsLinkHelper.
ModulePermissionsLinkHelperTest.php file core/modules/user/tests/src/Kernel/ModulePermissionsLinkHelperTest.php
ModulePermissionsLinkHelperTest::$modules property core/modules/user/tests/src/Kernel/ModulePermissionsLinkHelperTest.php Modules to install.
ModulePermissionsLinkHelperTest::setUp function core/modules/user/tests/src/Kernel/ModulePermissionsLinkHelperTest.php
ModulePermissionsLinkHelperTest::testGetModulePermissionsLink function core/modules/user/tests/src/Kernel/ModulePermissionsLinkHelperTest.php @covers ::getModulePermissionsLink
module_test.permissions.yml file core/modules/system/tests/modules/module_test/module_test.permissions.yml core/modules/system/tests/modules/module_test/module_test.permissions.yml
navigation.permissions.yml file core/modules/navigation/navigation.permissions.yml core/modules/navigation/navigation.permissions.yml
navigation_post_update_update_permissions function core/modules/navigation/navigation.post_update.php Grants navigation specific permission to roles with access to any layout.
node.permissions.yml file core/modules/node/node.permissions.yml core/modules/node/node.permissions.yml
NodeAccessTest::$permissions property core/modules/content_moderation/tests/src/Functional/NodeAccessTest.php Permissions to grant admin user.
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.
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.
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
PermissionHandler::moduleProvidesPermissions function core/modules/user/src/PermissionHandler.php
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::$deprecatedProperties property core/modules/user/src/Plugin/views/filter/Permissions.php The service properties that should raise a deprecation error.
Permissions::$moduleExtensionList property core/modules/user/src/Plugin/views/filter/Permissions.php Module extension list.
Permissions::$moduleHandler property core/modules/user/src/Plugin/views/field/Permissions.php The module handler.

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