60 calls to ResourceTestBase::grantPermissionsToTestedRole()

ActionResourceTestBase::setUpAuthorization in core/modules/action/tests/src/Functional/Rest/ActionResourceTestBase.php
Sets up the necessary authorization.
ActionResourceTestBase::setUpAuthorization in core/modules/system/tests/src/Functional/Rest/ActionResourceTestBase.php
BaseFieldOverrideResourceTestBase::setUpAuthorization in core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideResourceTestBase.php
BlockContentResourceTestBase::setUpAuthorization in core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php
BlockContentTypeResourceTestBase::setUpAuthorization in core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeResourceTestBase.php
BlockResourceTestBase::setUpAuthorization in core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php
CommentResourceTestBase::setUpAuthorization in core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php
CommentResourceTestBase::testPostSkipCommentApproval in core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php
Tests POSTing a comment with and without 'skip comment approval'.
CommentTypeResourceTestBase::setUpAuthorization in core/modules/comment/tests/src/Functional/Rest/CommentTypeResourceTestBase.php
ConfigTestResourceTestBase::setUpAuthorization in core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestResourceTestBase.php
ConfigurableLanguageResourceTestBase::setUpAuthorization in core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php
ContactFormResourceTestBase::setUpAuthorization in core/modules/contact/tests/src/Functional/Rest/ContactFormResourceTestBase.php
ContentLanguageSettingsResourceTestBase::setUpAuthorization in core/modules/language/tests/src/Functional/Rest/ContentLanguageSettingsResourceTestBase.php
DateFormatResourceTestBase::setUpAuthorization in core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php
DbLogResourceTest::setUpAuthorization in core/modules/dblog/tests/src/Functional/DbLogResourceTest.php
EditorResourceTestBase::setUpAuthorization in core/modules/editor/tests/src/Functional/Rest/EditorResourceTestBase.php
EntityFormDisplayResourceTestBase::setUpAuthorization in core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayResourceTestBase.php
EntityFormModeResourceTestBase::setUpAuthorization in core/tests/Drupal/FunctionalTests/Rest/EntityFormModeResourceTestBase.php
EntityTestBundleResourceTestBase::setUpAuthorization in core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php
EntityTestComputedFieldNormalizerTest::setUpAuthorization in core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php
EntityTestLabelResourceTestBase::setUpAuthorization in core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php
EntityTestMapFieldResourceTestBase::setUpAuthorization in core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php
EntityTestResourceTestBase::setUpAuthorization in core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestResourceTestBase.php
EntityTestTextItemNormalizerTest::setUpAuthorization in core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestTextItemNormalizerTest.php
EntityViewDisplayResourceTestBase::setUpAuthorization in core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayResourceTestBase.php
EntityViewModeResourceTestBase::setUpAuthorization in core/tests/Drupal/FunctionalTests/Rest/EntityViewModeResourceTestBase.php
FieldConfigResourceTestBase::setUpAuthorization in core/modules/field/tests/src/Functional/Rest/FieldConfigResourceTestBase.php
FieldStorageConfigResourceTestBase::setUpAuthorization in core/modules/field/tests/src/Functional/Rest/FieldStorageConfigResourceTestBase.php
FileResourceTestBase::setUpAuthorization in core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php
FileUploadResourceTestBase::setUpAuthorization in core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php
FilterFormatResourceTestBase::setUpAuthorization in core/modules/filter/tests/src/Functional/Rest/FilterFormatResourceTestBase.php
ImageStyleResourceTestBase::setUpAuthorization in core/modules/image/tests/src/Functional/Rest/ImageStyleResourceTestBase.php
MediaResourceTestBase::setUpAuthorization in core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php
MediaResourceTestBase::uploadFile in core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php
Tests the 'file_upload' REST resource plugin.
MediaTypeResourceTestBase::setUpAuthorization in core/modules/media/tests/src/Functional/Rest/MediaTypeResourceTestBase.php
MenuLinkContentResourceTestBase::setUpAuthorization in core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentResourceTestBase.php
MenuResourceTestBase::setUpAuthorization in core/modules/system/tests/src/Functional/Rest/MenuResourceTestBase.php
MessageResourceTestBase::setUpAuthorization in core/modules/contact/tests/src/Functional/Rest/MessageResourceTestBase.php
ModeratedNodeResourceTestBase::setUpAuthorization in core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeResourceTestBase.php
NodeJsonBasicAuthTest::setUpAuthorization in core/modules/node/tests/src/Functional/Rest/NodeJsonBasicAuthTest.php
NodeResourceTestBase::setUpAuthorization in core/modules/node/tests/src/Functional/Rest/NodeResourceTestBase.php
NodeResourceTestBase::testPatchPath in core/modules/node/tests/src/Functional/Rest/NodeResourceTestBase.php
Tests PATCHing a node's path with and without 'create url aliases'.
NodeTypeResourceTestBase::setUpAuthorization in core/modules/node/tests/src/Functional/Rest/NodeTypeResourceTestBase.php
PathAliasResourceTestBase::setUpAuthorization in core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php
ResponsiveImageStyleResourceTestBase::setUpAuthorization in core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php
RestJsonApiUnsupported::setUpAuthorization in core/modules/jsonapi/tests/src/Functional/RestJsonApiUnsupported.php
RestResourceConfigResourceTestBase::setUpAuthorization in core/modules/rest/tests/src/Functional/Rest/RestResourceConfigResourceTestBase.php
RoleResourceTestBase::setUpAuthorization in core/modules/user/tests/src/Functional/Rest/RoleResourceTestBase.php
SearchPageResourceTestBase::setUpAuthorization in core/modules/search/tests/src/Functional/Rest/SearchPageResourceTestBase.php
ShortcutResourceTestBase::setUpAuthorization in core/modules/shortcut/tests/src/Functional/Rest/ShortcutResourceTestBase.php
ShortcutSetResourceTestBase::setUpAuthorization in core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetResourceTestBase.php
TermResourceTestBase::setUpAuthorization in core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php
TourResourceTestBase::setUpAuthorization in core/modules/tour/tests/src/Functional/Rest/TourResourceTestBase.php
Sets up the necessary authorization.
UserResourceTestBase::setUpAuthorization in core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php
UserResourceTestBase::testPatchDxForSecuritySensitiveBaseFields in core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php
Tests PATCHing security-sensitive base fields of the logged in account.
ViewResourceTestBase::setUpAuthorization in core/modules/views/tests/src/Functional/Rest/ViewResourceTestBase.php
VocabularyResourceTestBase::setUpAuthorization in core/modules/taxonomy/tests/src/Functional/Rest/VocabularyResourceTestBase.php
WorkflowResourceTestBase::setUpAuthorization in core/modules/workflows/tests/src/Functional/Rest/WorkflowResourceTestBase.php
WorkspaceResourceTestBase::setUpAuthorization in core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceResourceTestBase.php
Sets up the necessary authorization.
WorkspaceResourceTestBase::setUpAuthorization in core/modules/workspaces/tests/src/Functional/Rest/WorkspaceResourceTestBase.php

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