12 calls to AccessResult::allowedIfHasPermissions() in Drupal 10
- AccessResultTest::testAllowedIfHasPermissions in core/
tests/ Drupal/ Tests/ Core/ Access/ AccessResultTest.php - Tests allowedIfHasPermissions().
- EntityTestAccessControlHandler::checkCreateAccess in core/
modules/ system/ tests/ modules/ entity_test/ src/ EntityTestAccessControlHandler.php - Performs create access checks.
- hook_jsonapi_ENTITY_TYPE_filter_access in core/
modules/ jsonapi/ jsonapi.api.php - Controls access to filtering by entity data via JSON:API.
- jsonapi_jsonapi_shortcut_filter_access in core/
modules/ jsonapi/ jsonapi.module - Implements hook_jsonapi_ENTITY_TYPE_filter_access() for 'shortcut'.
- LatestRevisionCheck::access in core/
modules/ content_moderation/ src/ Access/ LatestRevisionCheck.php - Checks that there is a pending revision available.
- PathFieldItemList::defaultAccess in core/
modules/ path/ src/ Plugin/ Field/ FieldType/ PathFieldItemList.php - Contains the default access logic of this field.
- PermissionAccessCheck::access in core/
modules/ user/ src/ Access/ PermissionAccessCheck.php - Checks access.
- ShortcutSetAccessControlHandler::checkCreateAccess in core/
modules/ shortcut/ src/ ShortcutSetAccessControlHandler.php - Performs create access checks.
- TermAccessControlHandler::checkCreateAccess in core/
modules/ taxonomy/ src/ TermAccessControlHandler.php - Performs create access checks.
- TourAccessControlHandler::checkAccess in core/
modules/ tour/ src/ TourAccessControlHandler.php - Performs access checks.
- VocabularyAccessControlHandler::checkAccess in core/
modules/ taxonomy/ src/ VocabularyAccessControlHandler.php - Performs access checks.
- WorkspaceAccessControlHandler::checkCreateAccess in core/
modules/ workspaces/ src/ WorkspaceAccessControlHandler.php - Performs create access checks.