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
claro_form_user_admin_permissions_alter function core/themes/claro/claro.theme Implements hook_form_FORM_ID_alter() for the user_admin_permissions form.
comment.permissions.yml file core/modules/comment/comment.permissions.yml core/modules/comment/comment.permissions.yml
CommentTest::getIncludePermissions function core/modules/jsonapi/tests/src/Functional/CommentTest.php Authorize the user under test with additional permissions to view includes.
CommentTranslationUITest::getTranslatorPermissions function core/modules/comment/tests/src/Functional/CommentTranslationUITest.php Returns an array of permissions needed for the translator.
CommentTypeTest::$permissions property core/modules/comment/tests/src/Functional/CommentTypeTest.php Permissions to grant admin user.
CommonCollectionFilterAccessTestPatternsTrait::doTestCollectionFilterAccessBasedOnPermissions function core/modules/jsonapi/tests/src/Traits/CommonCollectionFilterAccessTestPatternsTrait.php Implements ::testCollectionFilterAccess() for pure permission-based access.
config.permissions.yml file core/modules/config/config.permissions.yml core/modules/config/config.permissions.yml
config_test_rest.permissions.yml file core/modules/rest/tests/modules/config_test_rest/config_test_rest.permissions.yml core/modules/rest/tests/modules/config_test_rest/config_test_rest.permissions.yml
config_translation.permissions.yml file core/modules/config_translation/config_translation.permissions.yml core/modules/config_translation/config_translation.permissions.yml
contact.permissions.yml file core/modules/contact/contact.permissions.yml core/modules/contact/contact.permissions.yml
ContentModerationPermissionsTest class core/modules/content_moderation/tests/src/Kernel/ContentModerationPermissionsTest.php Test to ensure content moderation permissions are generated correctly.
ContentModerationPermissionsTest.php file core/modules/content_moderation/tests/src/Kernel/ContentModerationPermissionsTest.php
ContentModerationPermissionsTest::$modules property core/modules/content_moderation/tests/src/Kernel/ContentModerationPermissionsTest.php Modules to install.
ContentModerationPermissionsTest::permissionsTestCases function core/modules/content_moderation/tests/src/Kernel/ContentModerationPermissionsTest.php Test cases for ::testPermissions.
ContentModerationPermissionsTest::setUp function core/modules/content_moderation/tests/src/Kernel/ContentModerationPermissionsTest.php
ContentModerationPermissionsTest::testPermissions function core/modules/content_moderation/tests/src/Kernel/ContentModerationPermissionsTest.php Tests permissions generated by content moderation.
ContentTestTranslationUITest::getTranslatorPermissions function core/modules/content_translation/tests/src/Functional/ContentTestTranslationUITest.php Returns an array of permissions needed for the translator.
ContentTranslationPendingRevisionTestBase::$commonPermissions property core/modules/content_translation/tests/src/Functional/ContentTranslationPendingRevisionTestBase.php Permissions common to all test accounts.
ContentTranslationPendingRevisionTestBase::getEditorPermissions function core/modules/content_translation/tests/src/Functional/ContentTranslationPendingRevisionTestBase.php Returns an array of permissions needed for the editor.
ContentTranslationPendingRevisionTestBase::getTranslatorPermissions function core/modules/content_translation/tests/src/Functional/ContentTranslationPendingRevisionTestBase.php Returns an array of permissions needed for the translator.
ContentTranslationPermissions class core/modules/content_translation/src/ContentTranslationPermissions.php Provides dynamic permissions for the content_translation module.
ContentTranslationPermissions.php file core/modules/content_translation/src/ContentTranslationPermissions.php
ContentTranslationPermissions::$contentTranslationManager property core/modules/content_translation/src/ContentTranslationPermissions.php The content translation manager.
ContentTranslationPermissions::$entityTypeBundleInfo property core/modules/content_translation/src/ContentTranslationPermissions.php The entity bundle info.
ContentTranslationPermissions::$entityTypeManager property core/modules/content_translation/src/ContentTranslationPermissions.php The entity type manager.
ContentTranslationPermissions::buildBundlePermission function core/modules/content_translation/src/ContentTranslationPermissions.php Builds a content translation permission array for a bundle.
ContentTranslationPermissions::contentPermissions function core/modules/content_translation/src/ContentTranslationPermissions.php Returns an array of content translation permissions.
ContentTranslationPermissions::create function core/modules/content_translation/src/ContentTranslationPermissions.php Instantiates a new instance of this class.
ContentTranslationPermissions::__construct function core/modules/content_translation/src/ContentTranslationPermissions.php Constructs a ContentTranslationPermissions instance.
ContentTranslationPermissionsTest class core/modules/content_translation/tests/src/Kernel/ContentTranslationPermissionsTest.php Tests the content translation dynamic permissions.
ContentTranslationPermissionsTest.php file core/modules/content_translation/tests/src/Kernel/ContentTranslationPermissionsTest.php
ContentTranslationPermissionsTest::$modules property core/modules/content_translation/tests/src/Kernel/ContentTranslationPermissionsTest.php Modules to install.
ContentTranslationPermissionsTest::setUp function core/modules/content_translation/tests/src/Kernel/ContentTranslationPermissionsTest.php
ContentTranslationPermissionsTest::testPermissions function core/modules/content_translation/tests/src/Kernel/ContentTranslationPermissionsTest.php Tests that enabling translation via the API triggers schema updates.
ContentTranslationSyncImageTest::getEditorPermissions function core/modules/content_translation/tests/src/Functional/ContentTranslationSyncImageTest.php Returns an array of permissions needed for the editor.
ContentTranslationTestBase::getAdministratorPermissions function core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php Returns an array of permissions needed for the administrator.
ContentTranslationTestBase::getEditorPermissions function core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php Returns an array of permissions needed for the editor.
ContentTranslationTestBase::getTranslatorPermissions function core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php Returns an array of permissions needed for the translator.
ContentTranslationWorkflowsTest::getEditorPermissions function core/modules/content_translation/tests/src/Functional/ContentTranslationWorkflowsTest.php Returns an array of permissions needed for the editor.
ContentTranslationWorkflowsTest::getEntityOwnerPermissions function core/modules/content_translation/tests/src/Functional/ContentTranslationWorkflowsTest.php Returns an array of permissions needed for the entity owner.
ContentTranslationWorkflowsTest::getTranslatorPermissions function core/modules/content_translation/tests/src/Functional/ContentTranslationWorkflowsTest.php Returns an array of permissions needed for the translator.
content_moderation.permissions.yml file core/modules/content_moderation/content_moderation.permissions.yml core/modules/content_moderation/content_moderation.permissions.yml
content_translation.permissions.yml file core/modules/content_translation/content_translation.permissions.yml core/modules/content_translation/content_translation.permissions.yml
contextual.permissions.yml file core/modules/contextual/contextual.permissions.yml core/modules/contextual/contextual.permissions.yml
ContextualDynamicContextTest::testDifferentPermissions function core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Tests contextual links with different permissions.
Drupal\user\ModulePermissionsLinkHelper service core/modules/user/user.services.yml
EntityPermissionsForm class core/modules/user/src/Form/EntityPermissionsForm.php Provides the permissions administration form for a bundle.
EntityPermissionsForm.php file core/modules/user/src/Form/EntityPermissionsForm.php
EntityPermissionsForm::$bundle property core/modules/user/src/Form/EntityPermissionsForm.php The bundle object.
EntityPermissionsForm::$configManager property core/modules/user/src/Form/EntityPermissionsForm.php The configuration entity manager.

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