Search for permissions

  1. Search 7.x for permissions
  2. Search 9.5.x for permissions
  3. Search 10.3.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
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::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.
RESTTestBase::entityPermissions function core/modules/rest/src/Tests/RESTTestBase.php Provides the necessary user permissions for entity operations.
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 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.
simpletest.permissions.yml file core/modules/simpletest/simpletest.permissions.yml core/modules/simpletest/simpletest.permissions.yml
statistics.permissions.yml file core/modules/statistics/statistics.permissions.yml core/modules/statistics/statistics.permissions.yml
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::$deprecatedProperties property 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.
TaxonomyPermissions::create function core/modules/taxonomy/src/TaxonomyPermissions.php Instantiates a new instance of this class.
TaxonomyPermissions::permissions function core/modules/taxonomy/src/TaxonomyPermissions.php Get taxonomy permissions.
TaxonomyPermissions::__construct function core/modules/taxonomy/src/TaxonomyPermissions.php Constructs a TaxonomyPermissions instance.
TermTranslationUITest::getTranslatorPermissions function core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php Returns an array of permissions needed for the translator.
ThemeUiTest::testModulePermissions function core/modules/system/tests/src/Functional/Theme/ThemeUiTest.php Tests permissions for enabling themes depending on disabled modules.
toolbar.permissions.yml file core/modules/toolbar/toolbar.permissions.yml core/modules/toolbar/toolbar.permissions.yml
tour.permissions.yml file core/modules/tour/tour.permissions.yml core/modules/tour/tour.permissions.yml
TourTest::$permissions property core/modules/tour/tests/src/Functional/TourTest.php The permissions required for a logged in user to test tour tips.
TourTestBasic::$permissions property core/modules/tour/tests/src/Functional/TourTestBasic.php The permissions required for a logged in user to test tour tips.
TranslationLinkTest::getTranslatorPermissions function core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php Returns an array of permissions needed for the translator.
update_replace_permissions function core/includes/update.inc Replace permissions during update.
User accounts, permissions, and roles group core/core.api.php API for user accounts, access checking, roles, and permissions.
user.permissions service core/modules/user/user.services.yml Drupal\user\PermissionHandler
user.permissions.html.twig file core/modules/help_topics/help_topics/user.permissions.html.twig ---
label: 'Modifying the permissions for a role'
related:
- user.overview
- user.new_role
- core.security
---
{% set permissions_url = render_var(url('user.admin_permissions')) %}
<h2>{% trans %}Goal{% endtrans…
user.permissions.yml file core/modules/user/user.permissions.yml core/modules/user/user.permissions.yml

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