You are here

protected function AssetTestBase::getAdministratorPermissions in farmOS 2.x

Gets the permissions for the admin user.

Return value

string[] The permissions.

1 call to AssetTestBase::getAdministratorPermissions()
AssetTestBase::setUp in modules/core/asset/tests/src/Functional/AssetTestBase.php

File

modules/core/asset/tests/src/Functional/AssetTestBase.php, line 49

Class

AssetTestBase
Tests the asset CRUD.

Namespace

Drupal\Tests\asset\Functional

Code

protected function getAdministratorPermissions() {
  return [
    'access administration pages',
    'administer assets',
    'view any asset',
    'create default asset',
    'view any default asset',
    'update own default asset',
    'update any default asset',
    'delete own default asset',
    'delete any default asset',
  ];
}