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_entities/opencase_entities.permissions.yml

160 lines
5.1 KiB
YAML

permission_callbacks:
- Drupal\opencase_entities\OpenCaseEntityPermissions::permissions
view edit delete all actor entities:
title: 'View/Edit/Delete all types of people'
description: ''
administer actor bundles:
title: 'Administer OpenCase Person Types'
administer case bundles:
title: 'Administer OpenCase Case Types'
administer activity bundles:
title: 'Administer OpenCase Activity Types'
administer actor entities:
title: 'Administer Actor entities'
description: 'Allow to access the administration form to configure Actor entities.'
restrict access: true
add case entities:
title: 'Create new Case entities'
administer case entities:
title: 'Administer Case entities'
description: 'Allow to access the administration form to configure Case entities.'
restrict access: true
delete case entities:
title: 'Delete Case entities'
edit case entities:
title: 'Edit Case entities'
view published case entities:
title: 'View all cases'
description: 'All users can see cases which they are involved in. This grants permission to see all cases regardless of involvement.'
view unpublished case entities:
title: 'View unpublished Case entities'
view all case revisions:
title: 'View all Case revisions'
revert all case revisions:
title: 'Revert all Case revisions'
description: 'Role requires permission <em>view Case revisions</em> and <em>edit rights</em> for case entities in question or <em>administer case entities</em>.'
delete all case revisions:
title: 'Delete all revisions'
description: 'Role requires permission to <em>view Case revisions</em> and <em>delete rights</em> for case entities in question or <em>administer case entities</em>.'
view published activity entities:
title: 'View published Activity entities'
add activity entities:
title: 'Create new Activity entities'
administer activity entities:
title: 'Administer Activity entities'
description: 'Allow to access the administration form to configure Activity entities.'
restrict access: true
delete activity entities:
title: 'Delete Activity entities'
edit activity entities:
title: 'Edit Activity entities'
view unpublished activity entities:
title: 'View unpublished Activity entities'
view all activity revisions:
title: 'View all Activity revisions'
revert all activity revisions:
title: 'Revert all Activity revisions'
description: 'Role requires permission <em>view Activity revisions</em> and <em>edit rights</em> for activity entities in question or <em>administer activity entities</em>.'
delete all activity revisions:
title: 'Delete all revisions'
description: 'Role requires permission to <em>view Activity revisions</em> and <em>delete rights</em> for activity entities in question or <em>administer activity entities</em>.'
add organisation entities:
title: 'Create new Organisation entities'
administer organisation entities:
title: 'Administer Organisation entities'
description: 'Allow to access the administration form to configure Organisation entities.'
restrict access: true
delete organisation entities:
title: 'Delete Organisation entities'
edit organisation entities:
title: 'Edit Organisation entities'
view published organisation entities:
title: 'View published Organisation entities'
view unpublished organisation entities:
title: 'View unpublished Organisation entities'
view all organisation revisions:
title: 'View all Organisation revisions'
revert all organisation revisions:
title: 'Revert all Organisation revisions'
description: 'Role requires permission <em>view Organisation revisions</em> and <em>edit rights</em> for organisation entities in question or <em>administer organisation entities</em>.'
delete all organisation 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>.'
permission_callbacks:
- \Drupal\opencase_entities\OCOrganisationPermissions::generatePermissions
add event entities:
title: 'Create new Event entities'
administer event entities:
title: 'Administer Event entities'
description: 'Allow to access the administration form to configure Event entities.'
restrict access: true
delete event entities:
title: 'Delete Event entities'
edit event entities:
title: 'Edit Event entities'
view published event entities:
title: 'View published Event entities'
view unpublished event entities:
title: 'View unpublished Event entities'
permission_callbacks:
- \Drupal\opencase_entities\OCEventPermissions::generatePermissions
add bank account entities:
title: 'Create new Bank Account entities'
administer bank account entities:
title: 'Administer Bank Account entities'
description: 'Allow to access the administration form to configure Bank Account entities.'
restrict access: true
delete bank account entities:
title: 'Delete Bank Account entities'
edit bank account entities:
title: 'Edit Bank Account entities'
view published bank account entities:
title: 'View published Bank Account entities'
view unpublished bank account entities:
title: 'View unpublished Bank Account entities'