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
ResourceTestBase::grantPermissionsToAnonymousRole function core/modules/rest/tests/src/Functional/ResourceTestBase.php Grants permissions to the anonymous role.
ResourceTestBase::grantPermissionsToAuthenticatedRole function core/modules/rest/tests/src/Functional/ResourceTestBase.php Grants permissions to the authenticated role.
ResourceTestBase::grantPermissionsToTestedRole function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Grants permissions to the authenticated role.
ResourceTestBase::grantPermissionsToTestedRole function core/modules/rest/tests/src/Functional/ResourceTestBase.php Grants permissions to the tested role: anonymous or authenticated.
ResourceTestBase::revokePermissions function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Ensure the anonymous and authenticated roles have no permissions at all.
ResourceTestBase::revokePermissionsFromTestedRole function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Revokes permissions from the authenticated role.
responsive_image.permissions.yml file core/modules/responsive_image/responsive_image.permissions.yml core/modules/responsive_image/responsive_image.permissions.yml
rest.permissions.yml file core/modules/rest/rest.permissions.yml core/modules/rest/rest.permissions.yml
RestPermissions class core/modules/rest/src/RestPermissions.php Provides rest module permissions.
RestPermissions.php file core/modules/rest/src/RestPermissions.php
RestPermissions::$resourceConfigStorage property core/modules/rest/src/RestPermissions.php The REST resource config storage.
RestPermissions::$restPluginManager property core/modules/rest/src/RestPermissions.php The rest resource plugin manager.
RestPermissions::create function core/modules/rest/src/RestPermissions.php Instantiates a new instance of this class.
RestPermissions::permissions function core/modules/rest/src/RestPermissions.php Returns an array of REST permissions.
RestPermissions::__construct function core/modules/rest/src/RestPermissions.php Constructs a new RestPermissions instance.
RestPermissionsTest class core/modules/rest/tests/src/Kernel/Entity/RestPermissionsTest.php @coversDefaultClass \Drupal\rest\RestPermissions
RestPermissionsTest.php file core/modules/rest/tests/src/Kernel/Entity/RestPermissionsTest.php
RestPermissionsTest::$modules property core/modules/rest/tests/src/Kernel/Entity/RestPermissionsTest.php Modules to install.
RestPermissionsTest::testPermissions function core/modules/rest/tests/src/Kernel/Entity/RestPermissionsTest.php @covers ::permissions
Role::$filterPermissions property core/modules/user/src/Plugin/migrate/source/d6/Role.php List of filter IDs per role IDs.
Role::$permissions property core/modules/user/src/Entity/Role.php The permissions belonging to this role.
Role::getAllValidPermissions function core/modules/user/src/Entity/Role.php Returns all valid permissions.
Role::getPermissions function core/modules/user/src/Entity/Role.php Returns a list of permissions assigned to the role.
RoleInterface::getPermissions function core/modules/user/src/RoleInterface.php Returns a list of permissions assigned to the role.
router_test.permissions.yml file core/modules/system/tests/modules/router_test_directory/router_test.permissions.yml core/modules/system/tests/modules/router_test_directory/router_test.permissions.yml
search.permissions.yml file core/modules/search/search.permissions.yml core/modules/search/search.permissions.yml
SearchCommentTest::setRolePermissions function core/modules/search/tests/src/Functional/SearchCommentTest.php Set permissions for role.
shortcut.permissions.yml file core/modules/shortcut/shortcut.permissions.yml core/modules/shortcut/shortcut.permissions.yml
ShortcutTranslationUITest::getTranslatorPermissions function core/modules/shortcut/tests/src/Functional/ShortcutTranslationUITest.php Returns an array of permissions needed for the translator.
SiteConfigurationExcluder::syncDefaultSiteDirectoryPermissions function core/modules/package_manager/src/PathExcluder/SiteConfigurationExcluder.php Makes `sites/default` permissions the same in live and stage directories.
SiteConfigurationExcluderTest::testDefaultSiteDirectoryPermissions function core/modules/package_manager/tests/src/Kernel/PathExcluder/SiteConfigurationExcluderTest.php Tests that `sites/default` is made writable in the stage directory.
statistics.permissions.yml file core/modules/statistics/statistics.permissions.yml core/modules/statistics/statistics.permissions.yml
SuperUserAccessPolicy::calculatePermissions function core/lib/Drupal/Core/Session/SuperUserAccessPolicy.php Calculates the permissions for an account within a given scope.
SuperUserAccessPolicyTest::alterPermissionsProvider function core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php Data provider for testAlterPermissions.
SuperUserAccessPolicyTest::calculatePermissionsProvider function core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php Data provider for testCalculatePermissions.
SuperUserAccessPolicyTest::testAlterPermissions function core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php Tests the alterPermissions method.
SuperUserAccessPolicyTest::testCalculatePermissions function core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php Tests the calculatePermissions method.
SuperUserPermissionsTest class core/tests/Drupal/KernelTests/Core/Session/SuperUserPermissionsTest.php Test case for getting all permissions as a super user.
SuperUserPermissionsTest.php file core/tests/Drupal/KernelTests/Core/Session/SuperUserPermissionsTest.php
SuperUserPermissionsTest::$modules property core/tests/Drupal/KernelTests/Core/Session/SuperUserPermissionsTest.php Modules to install.
SuperUserPermissionsTest::$usesSuperUserAccessPolicy property core/tests/Drupal/KernelTests/Core/Session/SuperUserPermissionsTest.php Set to TRUE to make user 1 a super user.
SuperUserPermissionsTest::setUp function core/tests/Drupal/KernelTests/Core/Session/SuperUserPermissionsTest.php
SuperUserPermissionsTest::testPermissionChange function core/tests/Drupal/KernelTests/Core/Session/SuperUserPermissionsTest.php Tests the super user access policy grants all permissions.
system.permissions.yml file core/modules/system/system.permissions.yml core/modules/system/system.permissions.yml
system_test.permissions.yml file core/modules/system/tests/modules/system_test/system_test.permissions.yml core/modules/system/tests/modules/system_test/system_test.permissions.yml
taxonomy.permissions.yml file core/modules/taxonomy/taxonomy.permissions.yml core/modules/taxonomy/taxonomy.permissions.yml
TaxonomyPermissions class core/modules/taxonomy/src/TaxonomyPermissions.php Provides dynamic permissions of the taxonomy module.
TaxonomyPermissions.php file core/modules/taxonomy/src/TaxonomyPermissions.php
TaxonomyPermissions::$entityTypeManager property core/modules/taxonomy/src/TaxonomyPermissions.php The entity type manager.
TaxonomyPermissions::buildPermissions function core/modules/taxonomy/src/TaxonomyPermissions.php Builds a standard list of taxonomy term permissions for a given vocabulary.

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