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
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.
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::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.
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/Functional/UserPermissionsTest.php Verify that role permissions can be added and removed via the permissions
page.
UserPermissionsTest.php file core/modules/user/tests/src/Functional/UserPermissionsTest.php
UserPermissionsTest::$adminUser property core/modules/user/tests/src/Functional/UserPermissionsTest.php User with admin privileges.
UserPermissionsTest::$defaultTheme property core/modules/user/tests/src/Functional/UserPermissionsTest.php The theme to install as the default for testing.
UserPermissionsTest::$rid property core/modules/user/tests/src/Functional/UserPermissionsTest.php User's role ID.
UserPermissionsTest::setUp function core/modules/user/tests/src/Functional/UserPermissionsTest.php
UserPermissionsTest::testAccessContentPermission function core/modules/user/tests/src/Functional/UserPermissionsTest.php Verify 'access content' is listed in the correct location.
UserPermissionsTest::testAdministratorRole function core/modules/user/tests/src/Functional/UserPermissionsTest.php Test assigning of permissions for the administrator role.
UserPermissionsTest::testUserPermissionChanges function core/modules/user/tests/src/Functional/UserPermissionsTest.php Test changing user permissions through the permissions page.
UserPermissionsTest::testUserRoleChangePermissions function core/modules/user/tests/src/Functional/UserPermissionsTest.php Verify proper permission changes by user_role_change_permissions().
UserRoleEntityTest::testOrderOfPermissions function core/modules/user/tests/src/Kernel/UserRoleEntityTest.php
UserTranslationUITest::getTranslatorPermissions function core/modules/user/tests/src/Functional/UserTranslationUITest.php Returns an array of permissions needed for the translator.
UserUpdateOrderPermissionsTest class core/modules/user/tests/src/Functional/Update/UserUpdateOrderPermissionsTest.php Tests user permissions sort upgrade path.
UserUpdateOrderPermissionsTest.php file core/modules/user/tests/src/Functional/Update/UserUpdateOrderPermissionsTest.php
UserUpdateOrderPermissionsTest::setDatabaseDumpFiles function core/modules/user/tests/src/Functional/Update/UserUpdateOrderPermissionsTest.php Set database dump files to be used.
UserUpdateOrderPermissionsTest::testPermissionsOrder function core/modules/user/tests/src/Functional/Update/UserUpdateOrderPermissionsTest.php Tests that permissions are ordered by machine name.
user_access_test.permissions.yml file core/modules/user/tests/modules/user_access_test/user_access_test.permissions.yml core/modules/user/tests/modules/user_access_test/user_access_test.permissions.yml
user_form_test.permissions.yml file core/modules/user/tests/modules/user_form_test/user_form_test.permissions.yml core/modules/user/tests/modules/user_form_test/user_form_test.permissions.yml
user_permissions_hash_generator service core/core.services.yml Drupal\Core\Session\PermissionsHashGenerator
user_post_update_enforce_order_of_permissions function core/modules/user/user.post_update.php Enforce order of role permissions.
user_role_change_permissions function core/modules/user/user.module Change permissions for a user role.
user_role_grant_permissions function core/modules/user/user.module Grant permissions to a user role.
user_role_permissions function core/modules/user/user.module Determine the permissions for one or more roles.
user_role_revoke_permissions function core/modules/user/user.module Revoke permissions from a user role.
views_test_data.permissions.yml file core/modules/views/tests/modules/views_test_data/views_test_data.permissions.yml core/modules/views/tests/modules/views_test_data/views_test_data.permissions.yml
views_ui.permissions.yml file core/modules/views_ui/views_ui.permissions.yml core/modules/views_ui/views_ui.permissions.yml
VocabularyPermissionsTest class core/modules/taxonomy/tests/src/Functional/VocabularyPermissionsTest.php Tests the taxonomy vocabulary permissions.
VocabularyPermissionsTest.php file core/modules/taxonomy/tests/src/Functional/VocabularyPermissionsTest.php
VocabularyPermissionsTest::$defaultTheme property core/modules/taxonomy/tests/src/Functional/VocabularyPermissionsTest.php The theme to install as the default for testing.
VocabularyPermissionsTest::$modules property core/modules/taxonomy/tests/src/Functional/VocabularyPermissionsTest.php Modules to enable.
VocabularyPermissionsTest::setUp function core/modules/taxonomy/tests/src/Functional/VocabularyPermissionsTest.php
VocabularyPermissionsTest::testTaxonomyVocabularyOverviewPermissions function core/modules/taxonomy/tests/src/Functional/VocabularyPermissionsTest.php Test the vocabulary overview permission.

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