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 10.3.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
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.
TaxonomyRevisionDeleteTest::$permissions property core/modules/taxonomy/tests/src/Functional/TaxonomyRevisionDeleteTest.php
TaxonomyRevisionRevertTest::$permissions property core/modules/taxonomy/tests/src/Functional/TaxonomyRevisionRevertTest.php
TaxonomyRevisionVersionHistoryTest::$permissions property core/modules/taxonomy/tests/src/Functional/TaxonomyRevisionVersionHistoryTest.php
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.permissions.yml file core/modules/update/update.permissions.yml core/modules/update/update.permissions.yml
User accounts, permissions, and roles group core/core.api.php API for user accounts, access checking, roles, and permissions.
user.module_permissions_link_helper service core/modules/user/user.services.yml Drupal\user\ModulePermissionsLinkHelper
user.permissions service core/modules/user/user.services.yml Drupal\user\PermissionHandler
user.permissions.html.twig file core/modules/user/help_topics/user.permissions.html.twig ---
label: 'Modifying the permissions for a role'
related:
- user.overview
- user.new_role
- core.security
---
{% set permissions_link_text %}{% trans %}Permissions{% endtrans %}{% endset %}
{% set permissions_link =…
user.permissions.yml file core/modules/user/user.permissions.yml core/modules/user/user.permissions.yml
UserCreationTrait::checkPermissions function core/modules/user/tests/src/Traits/UserCreationTrait.php Checks whether a given list of permission names is valid.
UserCreationTrait::grantPermissions function core/modules/user/tests/src/Traits/UserCreationTrait.php Grant permissions to a user role.
UserPermissionsAdminTest class core/modules/user/tests/src/Functional/UserPermissionsAdminTest.php Tests adding and removing permissions via the UI.
UserPermissionsAdminTest.php file core/modules/user/tests/src/Functional/UserPermissionsAdminTest.php
UserPermissionsAdminTest::$defaultTheme property core/modules/user/tests/src/Functional/UserPermissionsAdminTest.php The theme to install as the default for testing.
UserPermissionsAdminTest::testPermissionsSorting function core/modules/user/tests/src/Functional/UserPermissionsAdminTest.php Tests granting and revoking permissions via the UI sorts permissions.
UserPermissionsForm class core/modules/user/src/Form/UserPermissionsForm.php Provides the user permissions administration form.
UserPermissionsForm.php file core/modules/user/src/Form/UserPermissionsForm.php
UserPermissionsForm::$moduleHandler property core/modules/user/src/Form/UserPermissionsForm.php The module handler.
UserPermissionsForm::$permissionHandler property core/modules/user/src/Form/UserPermissionsForm.php The permission handler.
UserPermissionsForm::$roleStorage property core/modules/user/src/Form/UserPermissionsForm.php The role storage.
UserPermissionsForm::buildForm function core/modules/user/src/Form/UserPermissionsForm.php Form constructor.
UserPermissionsForm::create function core/modules/user/src/Form/UserPermissionsForm.php Instantiates a new instance of this class.
UserPermissionsForm::getFormId function core/modules/user/src/Form/UserPermissionsForm.php Returns a unique string identifying the form.
UserPermissionsForm::getRoles function core/modules/user/src/Form/UserPermissionsForm.php Gets the roles to display in this form.
UserPermissionsForm::permissionsByProvider function core/modules/user/src/Form/UserPermissionsForm.php Group permissions by the modules that provide them.
UserPermissionsForm::submitForm function core/modules/user/src/Form/UserPermissionsForm.php Form submission handler.
UserPermissionsForm::__construct function core/modules/user/src/Form/UserPermissionsForm.php Constructs a new UserPermissionsForm.
UserPermissionsModuleSpecificForm class core/modules/user/src/Form/UserPermissionsModuleSpecificForm.php Provides the user permissions administration form for one or more module(s).
UserPermissionsModuleSpecificForm.php file core/modules/user/src/Form/UserPermissionsModuleSpecificForm.php
UserPermissionsModuleSpecificForm::$moduleList property core/modules/user/src/Form/UserPermissionsModuleSpecificForm.php The module list.
UserPermissionsModuleSpecificForm::access function core/modules/user/src/Form/UserPermissionsModuleSpecificForm.php Checks that at least one module defines permissions.
UserPermissionsModuleSpecificForm::buildForm function core/modules/user/src/Form/UserPermissionsModuleSpecificForm.php Builds the user permissions administration form for a specific module(s).
UserPermissionsModuleSpecificForm::permissionsByProvider function core/modules/user/src/Form/UserPermissionsModuleSpecificForm.php Group permissions by the modules that provide them.
UserPermissionsRoleSpecificForm class core/modules/user/src/Form/UserPermissionsRoleSpecificForm.php Provides the user permissions administration form for a specific role.
UserPermissionsRoleSpecificForm.php file core/modules/user/src/Form/UserPermissionsRoleSpecificForm.php
UserPermissionsRoleSpecificForm::$userRole property core/modules/user/src/Form/UserPermissionsRoleSpecificForm.php The specific role for this form.
UserPermissionsRoleSpecificForm::buildForm function core/modules/user/src/Form/UserPermissionsRoleSpecificForm.php Builds the user permissions administration form for a specific role.
UserPermissionsRoleSpecificForm::getRoles function core/modules/user/src/Form/UserPermissionsRoleSpecificForm.php Gets the roles to display in this form.
UserPermissionsTest class core/modules/user/tests/src/FunctionalJavascript/UserPermissionsTest.php Tests the JS components added to the user permissions page.
UserPermissionsTest class core/modules/user/tests/src/Functional/UserPermissionsTest.php Verifies role permissions can be added and removed via the permissions page.

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