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 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
ResourceBase::permissions function core/modules/rest/src/Plugin/ResourceBase.php Implements ResourceInterface::permissions().
ResourceInterface::permissions function core/modules/rest/src/Plugin/ResourceInterface.php Provides an array of permissions suitable for .permissions.yml files.
ResourceTestBase::getEditorialPermissions function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Gets an array of permissions required to view and update any tested entity.
ResourceTestBase::getIncludePermissions function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Authorize the user under test with additional permissions to view includes.
ResourceTestBase::grantIncludedPermissions function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Grants authorization to view includes.
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
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
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::getPermissions function core/modules/user/src/Entity/Role.php
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
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
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
SuperUserPermissionsTest::$usesSuperUserAccessPolicy property core/tests/Drupal/KernelTests/Core/Session/SuperUserPermissionsTest.php
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

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