Skip to content

Commit

Permalink
Fix config schema violation in apigee_edge_teams_update_8701() (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
boobaa authored May 14, 2021
1 parent 3d269f9 commit cbbd041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/apigee_edge_teams/apigee_edge_teams.install
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function apigee_edge_teams_update_8701() {
$storage = Drupal::entityTypeManager()->getStorage('team_role');
/** @var \Drupal\apigee_edge_teams\Entity\TeamRoleInterface $admin_role */
$admin_role = $storage->load($role);
$storage->changePermissions($role, $admin_role->getPermissions() + array_combine($api_key_permissions, $api_key_permissions));
$storage->changePermissions($role, array_combine($admin_role->getPermissions(), $admin_role->getPermissions()) + array_combine($api_key_permissions, $api_key_permissions));
}

/**
Expand Down

0 comments on commit cbbd041

Please sign in to comment.