| AccessPolicyBase::alterPermissions |
function |
core/lib/Drupal/Core/Session/AccessPolicyBase.php |
Alter the permissions after all policies have finished building them. |
| AccessPolicyBase::calculatePermissions |
function |
core/lib/Drupal/Core/Session/AccessPolicyBase.php |
Calculates the permissions for an account within a given scope. |
| AccessPolicyInterface::alterPermissions |
function |
core/lib/Drupal/Core/Session/AccessPolicyInterface.php |
Alter the permissions after all policies have finished building them. |
| AccessPolicyInterface::calculatePermissions |
function |
core/lib/Drupal/Core/Session/AccessPolicyInterface.php |
Calculates the permissions for an account within a given scope. |
| AccessPolicyProcessorTest::testAlterPermissions |
function |
core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php |
Tests that access policies can alter the final result. |
| AccessPolicyProcessorTest::testAlterPermissionsNoApply |
function |
core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php |
Tests that alters that do not apply are not processed. |
| AccessPolicyProcessorTest::testCalculatePermissions |
function |
core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php |
Tests that access policies are properly processed. |
| AccessPolicyProcessorTest::testCalculatePermissionsNoApply |
function |
core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php |
Tests that access policies that do not apply are not processed. |
| AccessResult::allowedIfHasPermissions |
function |
core/lib/Drupal/Core/Access/AccessResult.php |
Creates an allowed access result if the permissions are present, neutral otherwise. |
| AccessResult::cachePerPermissions |
function |
core/lib/Drupal/Core/Access/AccessResult.php |
Convenience method, adds the "user.permissions" cache context. |
| AccessResultTest::providerTestAllowedIfHasPermissions |
function |
core/tests/Drupal/Tests/Core/Access/AccessResultTest.php |
Provides data for the testAllowedIfHasPermissions() method. |
| AccessResultTest::testAllowedIfHasPermissions |
function |
core/tests/Drupal/Tests/Core/Access/AccessResultTest.php |
Tests allowedIfHasPermissions(). |
| AccountPermissionsCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php |
Defines the AccountPermissionsCacheContext service, for "per permission" caching. |
| AccountPermissionsCacheContext.php |
file |
core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php |
|
| AccountPermissionsCacheContext::$permissionsHashGenerator |
property |
core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php |
The permissions hash generator. |
| AccountPermissionsCacheContext::getCacheableMetadata |
function |
core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php |
Gets the cacheability metadata for the context. |
| AccountPermissionsCacheContext::getContext |
function |
core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php |
Returns the string representation of the cache context. |
| AccountPermissionsCacheContext::getLabel |
function |
core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php |
Returns the label of the cache context. |
| AccountPermissionsCacheContext::__construct |
function |
core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php |
Constructs a new UserCacheContext service. |
| AddPermissionsUpdateTest |
class |
core/modules/help/tests/src/Functional/AddPermissionsUpdateTest.php |
Tests help_post_update_add_permissions_to_roles(). |
| AddPermissionsUpdateTest.php |
file |
core/modules/help/tests/src/Functional/AddPermissionsUpdateTest.php |
|
| AddPermissionsUpdateTest::setDatabaseDumpFiles |
function |
core/modules/help/tests/src/Functional/AddPermissionsUpdateTest.php |
Set database dump files to be used. |
| AddPermissionsUpdateTest::testUpdate |
function |
core/modules/help/tests/src/Functional/AddPermissionsUpdateTest.php |
Tests adding 'access help pages' permission. |
| AdminController::$modulePermissionsLinks |
property |
core/modules/system/src/Controller/AdminController.php |
The module permissions link service. |
| AlwaysAddsAccessPolicy::calculatePermissions |
function |
core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php |
Calculates the permissions for an account within a given scope. |
| AlwaysAltersAccessPolicy::alterPermissions |
function |
core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php |
Alter the permissions after all policies have finished building them. |
| announcements_feed.permissions.yml |
file |
core/modules/announcements_feed/announcements_feed.permissions.yml |
core/modules/announcements_feed/announcements_feed.permissions.yml |
| ban.permissions.yml |
file |
core/modules/ban/ban.permissions.yml |
core/modules/ban/ban.permissions.yml |
| BarAccessPolicy::calculatePermissions |
function |
core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php |
Calculates the permissions for an account within a given scope. |
| BarAlterAccessPolicy::alterPermissions |
function |
core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php |
Alter the permissions after all policies have finished building them. |
| BazAccessPolicy::calculatePermissions |
function |
core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php |
Calculates the permissions for an account within a given scope. |
| block.permissions.yml |
file |
core/modules/block/block.permissions.yml |
core/modules/block/block.permissions.yml |
| BlockCacheTest::testCachePermissions |
function |
core/modules/block/tests/src/Functional/BlockCacheTest.php |
Tests a cacheable block without any additional cache context. |
| BlockContentCreationTest::$permissions |
property |
core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php |
Permissions to grant admin user. |
| BlockContentListTest::$permissions |
property |
core/modules/block_content/tests/src/Functional/BlockContentListTest.php |
Permissions to grant admin user. |
| BlockContentListViewsTest::$permissions |
property |
core/modules/block_content/tests/src/Functional/BlockContentListViewsTest.php |
Permissions to grant admin user. |
| BlockContentPermissions |
class |
core/modules/block_content/src/BlockContentPermissions.php |
Provide dynamic permissions for blocks of different types. |
| BlockContentPermissions.php |
file |
core/modules/block_content/src/BlockContentPermissions.php |
|
| BlockContentPermissions::blockTypePermissions |
function |
core/modules/block_content/src/BlockContentPermissions.php |
Build permissions for each block type. |
| BlockContentPermissions::buildPermissions |
function |
core/modules/block_content/src/BlockContentPermissions.php |
Return all the permissions available for a block type. |
| BlockContentPermissions::create |
function |
core/modules/block_content/src/BlockContentPermissions.php |
Instantiates a new instance of this class. |
| BlockContentPermissions::__construct |
function |
core/modules/block_content/src/BlockContentPermissions.php |
Constructs a BlockContentPermissions instance. |
| BlockContentPermissionsTest |
class |
core/modules/block_content/tests/src/Kernel/BlockContentPermissionsTest.php |
Tests the permissions of content blocks. |
| BlockContentPermissionsTest.php |
file |
core/modules/block_content/tests/src/Kernel/BlockContentPermissionsTest.php |
|
| BlockContentPermissionsTest::$modules |
property |
core/modules/block_content/tests/src/Kernel/BlockContentPermissionsTest.php |
Modules to install. |
| BlockContentPermissionsTest::$permissionHandler |
property |
core/modules/block_content/tests/src/Kernel/BlockContentPermissionsTest.php |
The permission handler. |
| BlockContentPermissionsTest::setUp |
function |
core/modules/block_content/tests/src/Kernel/BlockContentPermissionsTest.php |
|
| BlockContentPermissionsTest::testDynamicPermissions |
function |
core/modules/block_content/tests/src/Kernel/BlockContentPermissionsTest.php |
@covers ::blockTypePermissions[[api-linebreak]] |
| BlockContentRevisionDeleteTest::$permissions |
property |
core/modules/block_content/tests/src/Functional/BlockContentRevisionDeleteTest.php |
Permissions to grant admin user. |
| BlockContentRevisionRevertTest::$permissions |
property |
core/modules/block_content/tests/src/Functional/BlockContentRevisionRevertTest.php |
Permissions to grant admin user. |