MediaPermissions::create |
function |
core/modules/media/src/MediaPermissions.php |
Instantiates a new instance of this class. |
MediaPermissions::mediaTypePermissions |
function |
core/modules/media/src/MediaPermissions.php |
Returns an array of media type permissions. |
MediaPermissions::__construct |
function |
core/modules/media/src/MediaPermissions.php |
MediaPermissions constructor. |
MediaTest::getEditorialPermissions |
function |
core/modules/jsonapi/tests/src/Functional/MediaTest.php |
Gets an array of permissions required to view and update any tested entity. |
MediaTest::testPermissions |
function |
core/modules/media/tests/src/Kernel/MediaTest.php |
Tests permissions based on a media type have the correct permissions. |
MediaTranslationUITest::getAdministratorPermissions |
function |
core/modules/media/tests/src/Functional/MediaTranslationUITest.php |
Returns an array of permissions needed for the administrator. |
MediaTranslationUITest::getEditorPermissions |
function |
core/modules/media/tests/src/Functional/MediaTranslationUITest.php |
Returns an array of permissions needed for the editor. |
MediaTranslationUITest::getTranslatorPermissions |
function |
core/modules/media/tests/src/Functional/MediaTranslationUITest.php |
Returns an array of permissions needed for the translator. |
MenuLinkContentTranslationUITest::getAdministratorPermissions |
function |
core/modules/menu_link_content/tests/src/Functional/MenuLinkContentTranslationUITest.php |
Returns an array of permissions needed for the administrator. |
MenuLinkContentTranslationUITest::getTranslatorPermissions |
function |
core/modules/menu_link_content/tests/src/Functional/MenuLinkContentTranslationUITest.php |
Returns an array of permissions needed for the translator. |
ModerationStateNodeTest::testNoContentModerationPermissions |
function |
core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTest.php |
Tests the workflow when a user has no Content Moderation permissions. |
ModerationStateTestBase::$permissions |
property |
core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php |
Permissions to grant admin user. |
module_test.permissions.yml |
file |
core/modules/system/tests/modules/module_test/module_test.permissions.yml |
core/modules/system/tests/modules/module_test/module_test.permissions.yml |
node.permissions.yml |
file |
core/modules/node/node.permissions.yml |
core/modules/node/node.permissions.yml |
NodeAccessTest::$permissions |
property |
core/modules/content_moderation/tests/src/Functional/NodeAccessTest.php |
Permissions to grant admin user. |
NodePermissions |
class |
core/modules/node/src/NodePermissions.php |
Provides dynamic permissions for nodes of different types. |
NodePermissions.php |
file |
core/modules/node/src/NodePermissions.php |
|
NodePermissions::buildPermissions |
function |
core/modules/node/src/NodePermissions.php |
Returns a list of node permissions for a given node type. |
NodePermissions::nodeTypePermissions |
function |
core/modules/node/src/NodePermissions.php |
Returns an array of node type permissions. |
NodeRevisionPermissionsTest |
class |
core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php |
Tests user permissions for node revisions. |
NodeRevisionPermissionsTest.php |
file |
core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php |
|
NodeRevisionPermissionsTest::$accounts |
property |
core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php |
The accounts. |
NodeRevisionPermissionsTest::$defaultTheme |
property |
core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php |
The theme to install as the default for testing. |
NodeRevisionPermissionsTest::$map |
property |
core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php |
Map revision permission names to node revision access ops. |
NodeRevisionPermissionsTest::$nodeRevisions |
property |
core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php |
The node revisions. |
NodeRevisionPermissionsTest::$typeMap |
property |
core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php |
Map revision permission names to node type revision access ops. |
NodeRevisionPermissionsTest::setUp |
function |
core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php |
|
NodeRevisionPermissionsTest::testNodeRevisionAccessAnyType |
function |
core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php |
Tests general revision access permissions. |
NodeRevisionPermissionsTest::testNodeRevisionAccessPerType |
function |
core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php |
Tests revision access permissions for a specific content type. |
NodeTest::getIncludePermissions |
function |
core/modules/jsonapi/tests/src/Functional/NodeTest.php |
Authorize the user under test with additional permissions to view includes. |
NodeTranslationUITest::getAdministratorPermissions |
function |
core/modules/node/tests/src/Functional/NodeTranslationUITest.php |
Returns an array of permissions needed for the administrator. |
NodeTranslationUITest::getEditorPermissions |
function |
core/modules/node/tests/src/Functional/NodeTranslationUITest.php |
Returns an array of permissions needed for the editor. |
NodeTranslationUITest::getTranslatorPermissions |
function |
core/modules/node/tests/src/Functional/NodeTranslationUITest.php |
Returns an array of permissions needed for the translator. |
node_access_test.permissions.yml |
file |
core/modules/node/tests/modules/node_access_test/node_access_test.permissions.yml |
core/modules/node/tests/modules/node_access_test/node_access_test.permissions.yml |
PageCacheTest::testPageCacheAnonymousRolePermissions |
function |
core/modules/page_cache/tests/src/Functional/PageCacheTest.php |
Tests the automatic presence of the anonymous role's cache tag. |
path.permissions.yml |
file |
core/modules/path/path.permissions.yml |
core/modules/path/path.permissions.yml |
PermissionHandler::buildPermissionsYaml |
function |
core/modules/user/src/PermissionHandler.php |
Builds all permissions provided by .permissions.yml files. |
PermissionHandler::getPermissions |
function |
core/modules/user/src/PermissionHandler.php |
Gets all available permissions. |
PermissionHandler::moduleProvidesPermissions |
function |
core/modules/user/src/PermissionHandler.php |
Determines whether a module provides some permissions. |
PermissionHandler::sortPermissions |
function |
core/modules/user/src/PermissionHandler.php |
Sorts the given permissions by provider name and title. |
PermissionHandlerInterface::getPermissions |
function |
core/modules/user/src/PermissionHandlerInterface.php |
Gets all available permissions. |
PermissionHandlerInterface::moduleProvidesPermissions |
function |
core/modules/user/src/PermissionHandlerInterface.php |
Determines whether a module provides some permissions. |
PermissionHandlerTest::assertPermissions |
function |
core/modules/user/tests/src/Unit/PermissionHandlerTest.php |
Checks that the permissions are like expected. |
PermissionHandlerTest::testBuildPermissionsSortPerModule |
function |
core/modules/user/tests/src/Unit/PermissionHandlerTest.php |
Tests permissions sort inside a module. |
PermissionHandlerTest::testBuildPermissionsYaml |
function |
core/modules/user/tests/src/Unit/PermissionHandlerTest.php |
Tests permissions provided by YML files. |
PermissionHandlerTest::testBuildPermissionsYamlCallback |
function |
core/modules/user/tests/src/Unit/PermissionHandlerTest.php |
Tests dynamic callback permissions provided by YML files. |
PermissionHandlerTest::testPermissionsYamlStaticAndCallback |
function |
core/modules/user/tests/src/Unit/PermissionHandlerTest.php |
Tests a YAML file containing both static permissions and a callback. |
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. |