This repository has been archived on 2022-07-12. You can view files and clone it, but cannot push or open issues or pull requests.
opencase/modules/opencase_cases/opencase_cases.permissions.yml

66 lines
2.4 KiB
YAML

add case provision entities:
title: 'Create new Case Provision entities'
administer case provision entities:
title: 'Administer Case Provision entities'
description: 'Allow to access the administration form to configure Case Provision entities.'
restrict access: true
delete case provision entities:
title: 'Delete Case Provision entities'
edit case provision entities:
title: 'Edit Case Provision entities'
view published case provision entities:
title: 'View published Case Provision entities'
view unpublished case provision entities:
title: 'View unpublished Case Provision entities'
view all case provision revisions:
title: 'View all Case Provision revisions'
revert all case provision revisions:
title: 'Revert all Case Provision revisions'
description: 'Role requires permission <em>view Case Provision revisions</em> and <em>edit rights</em> for case provision entities in question or <em>administer case provision entities</em>.'
delete all case provision revisions:
title: 'Delete all revisions'
description: 'Role requires permission to <em>view Case Provision revisions</em> and <em>delete rights</em> for case provision entities in question or <em>administer case provision entities</em>.'
add case fee entities:
title: 'Create new Case Fee entities'
administer case fee entities:
title: 'Administer Case Fee entities'
description: 'Allow to access the administration form to configure Case Fee entities.'
restrict access: true
delete case fee entities:
title: 'Delete Case Fee entities'
edit case fee entities:
title: 'Edit Case Fee entities'
view published case fee entities:
title: 'View published Case Fee entities'
view unpublished case fee entities:
title: 'View unpublished Case Fee entities'
view all case fee revisions:
title: 'View all Case Fee revisions'
revert all case fee revisions:
title: 'Revert all Case Fee revisions'
description: 'Role requires permission <em>view Case Fee revisions</em> and <em>edit rights</em> for case fee entities in question or <em>administer case fee entities</em>.'
delete all case fee revisions:
title: 'Delete all revisions'
description: 'Role requires permission to <em>view Case Fee revisions</em> and <em>delete rights</em> for case fee entities in question or <em>administer case fee entities</em>.'
permission_callbacks:
- \Drupal\opencase_cases\OCCaseFeePermissions::generatePermissions
- \Drupal\opencase_cases\OCCaseProvisionPermissions::generatePermissions