Added permission for configuring opencase bundles
This commit is contained in:
parent
1878d1e2fd
commit
12afa00df8
@ -1,3 +1,7 @@
|
||||
administer opencase entity bundles:
|
||||
title: 'Administer OpenCase Actor/Case/Activity Types'
|
||||
description: 'Create, configure and delete types of actor (such as "Client" or "Legal Advisor"), types of case (such as "Housing" or "Asylum") and types of activity (such as "Case Note" or "Interview")'
|
||||
|
||||
administer actor entities:
|
||||
title: 'Administer Actor entities'
|
||||
description: 'Allow to access the administration form to configure Actor entities.'
|
||||
|
@ -23,7 +23,7 @@ use Drupal\Core\Config\Entity\ConfigEntityBundleBase;
|
||||
* },
|
||||
* },
|
||||
* config_prefix = "oc_activity_type",
|
||||
* admin_permission = "administer site configuration",
|
||||
* admin_permission = "administer opencase entity bundles",
|
||||
* bundle_of = "oc_activity",
|
||||
* entity_keys = {
|
||||
* "id" = "id",
|
||||
|
@ -23,7 +23,7 @@ use Drupal\Core\Config\Entity\ConfigEntityBundleBase;
|
||||
* },
|
||||
* },
|
||||
* config_prefix = "oc_actor_type",
|
||||
* admin_permission = "administer site configuration",
|
||||
* admin_permission = "administer opencase entity bundles",
|
||||
* bundle_of = "oc_actor",
|
||||
* entity_keys = {
|
||||
* "id" = "id",
|
||||
|
@ -23,7 +23,7 @@ use Drupal\Core\Config\Entity\ConfigEntityBundleBase;
|
||||
* },
|
||||
* },
|
||||
* config_prefix = "oc_case_type",
|
||||
* admin_permission = "administer site configuration",
|
||||
* admin_permission = "administer opencase entity bundles",
|
||||
* bundle_of = "oc_case",
|
||||
* entity_keys = {
|
||||
* "id" = "id",
|
||||
|
Reference in New Issue
Block a user