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 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
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.
UserPermissionsTest.php file core/modules/user/tests/src/FunctionalJavascript/UserPermissionsTest.php
UserPermissionsTest.php file core/modules/user/tests/src/Functional/UserPermissionsTest.php
UserPermissionsTest::$adminUser property core/modules/user/tests/src/FunctionalJavascript/UserPermissionsTest.php User with admin privileges.
UserPermissionsTest::$adminUser property core/modules/user/tests/src/Functional/UserPermissionsTest.php User with admin privileges.
UserPermissionsTest::$defaultTheme property core/modules/user/tests/src/FunctionalJavascript/UserPermissionsTest.php The theme to install as the default for testing.
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/FunctionalJavascript/UserPermissionsTest.php User's role ID.
UserPermissionsTest::$rid property core/modules/user/tests/src/Functional/UserPermissionsTest.php User's role ID.
UserPermissionsTest::setUp function core/modules/user/tests/src/FunctionalJavascript/UserPermissionsTest.php
UserPermissionsTest::setUp function core/modules/user/tests/src/Functional/UserPermissionsTest.php
UserPermissionsTest::testAccessBundlePermission function core/modules/user/tests/src/Functional/UserPermissionsTest.php Verify that bundle-specific pages work properly.
UserPermissionsTest::testAccessContentPermission function core/modules/user/tests/src/Functional/UserPermissionsTest.php Verify 'access content' is listed in the correct location.
UserPermissionsTest::testAccessModulePermission function core/modules/user/tests/src/Functional/UserPermissionsTest.php Verify that module-specific pages have correct access.
UserPermissionsTest::testAdministratorRole function core/modules/user/tests/src/Functional/UserPermissionsTest.php Tests assigning of permissions for the administrator role.
UserPermissionsTest::testBundlePermissionError function core/modules/user/tests/src/Functional/UserPermissionsTest.php Tests that access check does not trigger warnings.
UserPermissionsTest::testPermissionCheckboxes function core/modules/user/tests/src/FunctionalJavascript/UserPermissionsTest.php Tests the fake checkboxes added to the permissions page.
UserPermissionsTest::testUserPermissionChanges function core/modules/user/tests/src/Functional/UserPermissionsTest.php Tests changing user permissions through the permissions pages.
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
UserRolesAccessPolicy::calculatePermissions function core/lib/Drupal/Core/Session/UserRolesAccessPolicy.php Calculates the permissions for an account within a given scope.
UserRolesAccessPolicyTest::calculatePermissionsProvider function core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php Data provider for testCalculatePermissions.
UserRolesAccessPolicyTest::testAlterPermissions function core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php Tests the alterPermissions method.
UserRolesAccessPolicyTest::testCalculatePermissions function core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php Tests the calculatePermissions method.
UserRolesPermissionsTest class core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php Test case for getting permissions from user roles.
UserRolesPermissionsTest.php file core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php
UserRolesPermissionsTest::$modules property core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php Modules to install.
UserRolesPermissionsTest::setUp function core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php
UserRolesPermissionsTest::testPermissionChange function core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php Tests that assigning a role grants that role's permissions.
UserTranslationUITest::getTranslatorPermissions function core/modules/user/tests/src/Functional/UserTranslationUITest.php Returns an array of permissions needed for the translator.
UserUpdateRoleMigrateTest::testRolePermissions function core/modules/user/tests/src/Functional/Update/UserUpdateRoleMigrateTest.php Tests that roles have only existing permissions.
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_permissions_test.info.yml file core/modules/user/tests/modules/user_permissions_test/user_permissions_test.info.yml core/modules/user/tests/modules/user_permissions_test/user_permissions_test.info.yml
user_permissions_test.permissions.yml file core/modules/user/tests/modules/user_permissions_test/user_permissions_test.permissions.yml core/modules/user/tests/modules/user_permissions_test/user_permissions_test.permissions.yml
user_post_update_sort_permissions function core/modules/user/user.post_update.php No-op update.
user_post_update_sort_permissions_again function core/modules/user/user.post_update.php Ensure permissions stored in role configuration are sorted using the schema.
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 install.
VocabularyPermissionsTest::setUp function core/modules/taxonomy/tests/src/Functional/VocabularyPermissionsTest.php

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