You are here

58 calls to ResourceTestBase::grantPermissionsToTestedRole() in JSON:API 8

ActionTest::setUpAuthorization in tests/src/Functional/ActionTest.php
Sets up the necessary authorization.
BaseFieldOverrideTest::setUpAuthorization in tests/src/Functional/BaseFieldOverrideTest.php
Sets up the necessary authorization.
BlockContentTest::setUpAuthorization in tests/src/Functional/BlockContentTest.php
Sets up the necessary authorization.
BlockContentTypeTest::setUpAuthorization in tests/src/Functional/BlockContentTypeTest.php
Sets up the necessary authorization.
CommentTest::setUpAuthorization in tests/src/Functional/CommentTest.php
Sets up the necessary authorization.
CommentTest::testPostIndividualSkipCommentApproval in tests/src/Functional/CommentTest.php
Tests POSTing a comment with and without 'skip comment approval'.
CommentTypeTest::setUpAuthorization in tests/src/Functional/CommentTypeTest.php
Sets up the necessary authorization.
ConfigTestTest::setUpAuthorization in tests/src/Functional/ConfigTestTest.php
Sets up the necessary authorization.
ConfigurableLanguageTest::setUpAuthorization in tests/src/Functional/ConfigurableLanguageTest.php
Sets up the necessary authorization.
ContactFormTest::setUpAuthorization in tests/src/Functional/ContactFormTest.php
Sets up the necessary authorization.
ContentLanguageSettingsTest::setUpAuthorization in tests/src/Functional/ContentLanguageSettingsTest.php
Sets up the necessary authorization.
DateFormatTest::setUpAuthorization in tests/src/Functional/DateFormatTest.php
Sets up the necessary authorization.
EditorTest::setUpAuthorization in tests/src/Functional/EditorTest.php
Sets up the necessary authorization.
EntityFormDisplayTest::setUpAuthorization in tests/src/Functional/EntityFormDisplayTest.php
Sets up the necessary authorization.
EntityFormModeTest::setUpAuthorization in tests/src/Functional/EntityFormModeTest.php
Sets up the necessary authorization.
EntityTestTest::setUpAuthorization in tests/src/Functional/EntityTestTest.php
Sets up the necessary authorization.
EntityViewDisplayTest::setUpAuthorization in tests/src/Functional/EntityViewDisplayTest.php
Sets up the necessary authorization.
EntityViewModeTest::setUpAuthorization in tests/src/Functional/EntityViewModeTest.php
Sets up the necessary authorization.
FeedTest::setUpAuthorization in tests/src/Functional/FeedTest.php
Sets up the necessary authorization.
FieldConfigTest::setUpAuthorization in tests/src/Functional/FieldConfigTest.php
Sets up the necessary authorization.
FieldStorageConfigTest::setUpAuthorization in tests/src/Functional/FieldStorageConfigTest.php
Sets up the necessary authorization.
FileTest::setUpAuthorization in tests/src/Functional/FileTest.php
Sets up the necessary authorization.
FilterFormatTest::setUpAuthorization in tests/src/Functional/FilterFormatTest.php
Sets up the necessary authorization.
ImageStyleTest::setUpAuthorization in tests/src/Functional/ImageStyleTest.php
Sets up the necessary authorization.
ItemTest::setUpAuthorization in tests/src/Functional/ItemTest.php
Sets up the necessary authorization.
MediaTest::doTestRelationshipPost in tests/src/Functional/MediaTest.php
@todo Remove this in https://www.drupal.org/node/2824851.
MediaTest::setUpAuthorization in tests/src/Functional/MediaTest.php
Sets up the necessary authorization.
MediaTypeTest::setUpAuthorization in tests/src/Functional/MediaTypeTest.php
Sets up the necessary authorization.
MenuLinkContentTest::setUpAuthorization in tests/src/Functional/MenuLinkContentTest.php
Sets up the necessary authorization.
MenuTest::setUpAuthorization in tests/src/Functional/MenuTest.php
Sets up the necessary authorization.
MessageTest::setUpAuthorization in tests/src/Functional/MessageTest.php
Sets up the necessary authorization.
NodeTest::setUpAuthorization in tests/src/Functional/NodeTest.php
Sets up the necessary authorization.
NodeTest::testCollectionFilterAccess in tests/src/Functional/NodeTest.php
NodeTest::testGetIndividual in tests/src/Functional/NodeTest.php
Tests GETting an individual resource, plus edge cases to ensure good DX.
NodeTest::testPatchPath in tests/src/Functional/NodeTest.php
Tests PATCHing a node's path with and without 'create url aliases'.
NodeTypeTest::setUpAuthorization in tests/src/Functional/NodeTypeTest.php
Sets up the necessary authorization.
RdfMappingTest::setUpAuthorization in tests/src/Functional/RdfMappingTest.php
Sets up the necessary authorization.
ResourceTestBase::doTestIncluded in tests/src/Functional/ResourceTestBase.php
Tests included resources.
ResourceTestBase::doTestSparseFieldSets in tests/src/Functional/ResourceTestBase.php
Tests sparse field sets.
ResourceTestBase::testCollection in tests/src/Functional/ResourceTestBase.php
Tests GETting a collection of resources.
ResourceTestBase::testRelationships in tests/src/Functional/ResourceTestBase.php
Tests CRUD of individual resource relationship data.
ResponsiveImageStyleTest::setUpAuthorization in tests/src/Functional/ResponsiveImageStyleTest.php
Sets up the necessary authorization.
RestResourceConfigTest::setUpAuthorization in tests/src/Functional/RestResourceConfigTest.php
Sets up the necessary authorization.
RoleTest::setUpAuthorization in tests/src/Functional/RoleTest.php
Sets up the necessary authorization.
SearchPageTest::setUpAuthorization in tests/src/Functional/SearchPageTest.php
Sets up the necessary authorization.
ShortcutSetTest::setUpAuthorization in tests/src/Functional/ShortcutSetTest.php
Sets up the necessary authorization.
ShortcutTest::setUpAuthorization in tests/src/Functional/ShortcutTest.php
Sets up the necessary authorization.
ShortcutTest::testCollectionFilterAccess in tests/src/Functional/ShortcutTest.php
TermTest::setUpAuthorization in tests/src/Functional/TermTest.php
Sets up the necessary authorization.
TourTest::setUpAuthorization in tests/src/Functional/TourTest.php
Sets up the necessary authorization.
UserTest::setUpAuthorization in tests/src/Functional/UserTest.php
Sets up the necessary authorization.
UserTest::testCollectionFilterAccess in tests/src/Functional/UserTest.php
UserTest::testGetMailFieldOnlyVisibleToOwner in tests/src/Functional/UserTest.php
Tests GETting privacy-sensitive base fields.
UserTest::testPatchDxForSecuritySensitiveBaseFields in tests/src/Functional/UserTest.php
Tests PATCHing security-sensitive base fields of the logged in account.
UserTest::testQueryInvolvingRoles in tests/src/Functional/UserTest.php
Test good error DX when trying to filter users by role.
ViewTest::setUpAuthorization in tests/src/Functional/ViewTest.php
Sets up the necessary authorization.
VocabularyTest::setUpAuthorization in tests/src/Functional/VocabularyTest.php
Sets up the necessary authorization.
WorkflowTest::setUpAuthorization in tests/src/Functional/WorkflowTest.php
Sets up the necessary authorization.