You are here

protected property ModerationStateTestBase::$permissions in Workbench Moderation 8

Permissions to grant admin user.

Type: array

File

tests/src/Functional/ModerationStateTestBase.php, line 40

Class

ModerationStateTestBase
Defines a base class for moderation state tests.

Namespace

Drupal\Tests\workbench_moderation\Functional

Code

protected $permissions = [
  'administer moderation states',
  'administer moderation state transitions',
  'use draft_draft transition',
  'use draft_needs_review transition',
  'use published_draft transition',
  'use needs_review_published transition',
  'access administration pages',
  'administer content types',
  'administer nodes',
  'view latest version',
  'view any unpublished content',
  'access content overview',
];