You are here

protected constant AccessTest::TEAM_MEMBER_PERMISSION_MATRIX in Apigee Edge 8

Team membership level permission matrix.

Key are team-level permissions and values are routes without entity.{entity_id}. that a user should have access with the permission.

File

modules/apigee_edge_teams/tests/src/Functional/AccessTest.php, line 142

Class

AccessTest
Teams module access test.

Namespace

Drupal\Tests\apigee_edge_teams\Functional

Code

protected const TEAM_MEMBER_PERMISSION_MATRIX = [
  'team_manage_members' => [
    'members',
    'add_members',
    'member.edit',
    'member.remove',
  ],
  'team_app_view' => [
    'canonical',
    'collection_by_team',
    'api_keys',
  ],
  'team_app_create' => [
    'add_form_for_team',
  ],
  'team_app_update' => [
    'edit_form',
  ],
  'team_app_delete' => [
    'delete_form',
  ],
  'team_app_analytics' => [
    'analytics',
  ],
  'team_app_add_api_key' => [
    'add_api_key_form',
  ],
];