protected constant AccessTest::TEAM_PERMISSION_MATRIX in Apigee Edge 8
Team entity permission matrix.
Key are site-wide 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 123
Class
- AccessTest
- Teams module access test.
Namespace
Drupal\Tests\apigee_edge_teams\FunctionalCode
protected const TEAM_PERMISSION_MATRIX = [
'view any team' => [
'canonical',
],
'create team' => [
'add_form',
],
'update any team' => [
'edit_form',
],
'delete any team' => [
'delete_form',
],
'manage team members' => [
'members',
'add_members',
'member.edit',
'member.remove',
],
];