You are here

protected function AuthenticationBasicAuthTest::getAdministratorPermissions in Entity Share 8.3

Gets the permissions for the admin user.

Return value

string[] The permissions.

Overrides EntityShareClientFunctionalTestBase::getAdministratorPermissions

File

modules/entity_share_client/tests/src/Functional/AuthenticationBasicAuthTest.php, line 59

Class

AuthenticationBasicAuthTest
Functional test class for import with "Basic Auth" authorization.

Namespace

Drupal\Tests\entity_share_client\Functional

Code

protected function getAdministratorPermissions() {
  return [
    // Administrative user will be actually pulling the content, so we need
    // them to allow to pull unpublished nodes, unlike the channel user.
    'bypass node access',
  ] + parent::getAdministratorPermissions();
}