Search for permissions
- Search 7.x for permissions
- Search 9.5.x for permissions
- Search 10.3.x for permissions
- Search 11.x for permissions
- Other projects
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Permissions | class | core/ |
Defines a class for dynamic permissions based on transitions. |
Permissions | class | core/ |
Field handler to provide a list of permissions. |
Permissions | class | core/ |
Filter handler for user roles. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
Permissions::render_item | function | core/ |
Renders a single item of a row. |
Permissions::transitionPermissions | function | core/ |
Returns an array of transition permissions. |
Permissions::__construct | function | core/ |
Constructs a \Drupal\user\Plugin\views\field\Permissions object. |
Permissions::__construct | function | core/ |
Constructs a Permissions object. |
PermissionsHashGenerator | class | core/ |
Generates and caches the permissions hash for a user. |
PermissionsHashGenerator.php | file | core/ |
|
PermissionsHashGenerator::$cache | property | core/ |
The cache backend interface to use for the persistent cache. |
PermissionsHashGenerator::$privateKey | property | core/ |
The private key service. |
PermissionsHashGenerator::$static | property | core/ |
The cache backend interface to use for the static cache. |
PermissionsHashGenerator::doGenerate | function | core/ |
Generates a hash that uniquely identifies the user's permissions. |
PermissionsHashGenerator::generate | function | core/ |
Cached by role, invalidated whenever permissions change. |
PermissionsHashGenerator::hash | function | core/ |
Hashes the given string. |
PermissionsHashGenerator::__construct | function | core/ |
Constructs a PermissionsHashGenerator object. |
PermissionsHashGeneratorInterface | interface | core/ |
Defines the user permissions hash generator interface. |
PermissionsHashGeneratorInterface.php | file | core/ |
|
PermissionsHashGeneratorInterface::generate | function | core/ |
Generates a hash that uniquely identifies a user's permissions. |
PermissionsHashGeneratorTest | class | core/ |
@coversDefaultClass \Drupal\Core\Session\PermissionsHashGenerator @group Session |
PermissionsHashGeneratorTest.php | file | core/ |
|
PermissionsHashGeneratorTest::$account1 | property | core/ |
The mocked super user account. |
PermissionsHashGeneratorTest::$account2 | property | core/ |
A mocked account. |
PermissionsHashGeneratorTest::$account2Updated | property | core/ |
An "updated" mocked account. |
PermissionsHashGeneratorTest::$account3 | property | core/ |
A different account. |
PermissionsHashGeneratorTest::$cache | property | core/ |
The mocked cache backend. |
PermissionsHashGeneratorTest::$permissionsHash | property | core/ |
The permission hash class being tested. |
PermissionsHashGeneratorTest::$privateKey | property | core/ |
The mocked private key service. |
PermissionsHashGeneratorTest::$staticCache | property | core/ |
The mocked cache backend. |
PermissionsHashGeneratorTest::setUp | function | core/ |
|
PermissionsHashGeneratorTest::testGenerate | function | core/ |
@covers ::generate |
PermissionsHashGeneratorTest::testGenerateNoCache | function | core/ |
Tests the generate method with no cache returned. |
PermissionsHashGeneratorTest::testGeneratePersistentCache | function | core/ |
@covers ::generate |
PermissionsHashGeneratorTest::testGenerateStaticCache | function | core/ |
@covers ::generate |
PermissionsTest | class | core/ |
@group system |
PermissionsTest.php | file | core/ |
|
PermissionsTest::$modules | property | core/ |
Modules to enable. |
PermissionsTest::testAccessContentPermission | function | core/ |
Tests the 'access content' permission is provided by the System module. |
quickedit.permissions.yml | file | core/ |
core/modules/quickedit/quickedit.permissions.yml |
QuickEditIntegrationLoadingTest::$basicPermissions | property | core/ |
The basic permissions necessary to view content and use in-place editing. |
QuickEditLoadingTest::testUserPermissions | function | core/ |
Test the loading of Quick Edit with different permissions. |
RebuildPermissionsForm | class | core/ |
Form for rebuilding permissions. |
RebuildPermissionsForm.php | file | core/ |
|
RebuildPermissionsForm::getCancelUrl | function | core/ |
Returns the route to go to if the user cancels the action. |
RebuildPermissionsForm::getConfirmText | function | core/ |
Returns a caption for the button that confirms the action. |
RebuildPermissionsForm::getDescription | function | core/ |
Returns additional text to display as a description. |
RebuildPermissionsForm::getFormId | function | core/ |
Returns a unique string identifying the form. |
RebuildPermissionsForm::getQuestion | function | core/ |
Returns the question to ask the user. |
RebuildPermissionsForm::submitForm | function | core/ |
Form submission handler. |
ResourceBase::permissions | function | core/ |
Implements ResourceInterface::permissions(). |
ResourceInterface::permissions | function | core/ |
Provides an array of permissions suitable for .permissions.yml files. |
ResourceTestBase::getEditorialPermissions | function | core/ |
Gets an array of permissions required to view and update any tested entity. |
ResourceTestBase::getIncludePermissions | function | core/ |
Authorize the user under test with additional permissions to view includes. |
Pagination
- Previous page
- Page 5
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.