Fixed duplicate key in permissions.yml which Drupal 9 disallows

This commit is contained in:
naomi 2021-11-06 12:25:06 +00:00
parent c19b7d4be8
commit 6dca2e98e9

View File

@ -1,4 +1,7 @@
permission_callbacks: permission_callbacks:
- \Drupal\opencase_entities\OCOrganisationPermissions::generatePermissions
- \Drupal\opencase_entities\OCEventPermissions::generatePermissions
- Drupal\opencase_entities\OpenCaseEntityPermissions::permissions - Drupal\opencase_entities\OpenCaseEntityPermissions::permissions
view edit delete all actor entities: view edit delete all actor entities:
@ -116,8 +119,6 @@ delete all organisation revisions:
title: 'Delete all revisions' title: 'Delete all revisions'
description: 'Role requires permission to <em>view Organisation revisions</em> and <em>delete rights</em> for organisation entities in question or <em>administer organisation entities</em>.' description: 'Role requires permission to <em>view Organisation revisions</em> and <em>delete rights</em> for organisation entities in question or <em>administer organisation entities</em>.'
permission_callbacks:
- \Drupal\opencase_entities\OCOrganisationPermissions::generatePermissions
add event entities: add event entities:
title: 'Create new Event entities' title: 'Create new Event entities'
@ -138,8 +139,6 @@ view published event entities:
view unpublished event entities: view unpublished event entities:
title: 'View unpublished Event entities' title: 'View unpublished Event entities'
permission_callbacks:
- \Drupal\opencase_entities\OCEventPermissions::generatePermissions
add bank account entities: add bank account entities:
title: 'Create new Bank Account entities' title: 'Create new Bank Account entities'