Added hat types permission

It kind of works, as it allows the user to add, "edit" and delete hat types - but it does not allow administrating fields
This commit is contained in:
naomi 2018-04-27 16:10:10 +02:00
parent 7097cac863
commit d21109ebca
2 changed files with 4 additions and 1 deletions

View File

@ -23,7 +23,7 @@ use Drupal\Core\Config\Entity\ConfigEntityBundleBase;
* },
* },
* config_prefix = "hat_type",
* admin_permission = "administer site configuration",
* admin_permission = "add hat types",
* bundle_of = "hat",
* entity_keys = {
* "id" = "id",

View File

@ -1,3 +1,6 @@
add hat types:
title: 'Add Hat Types'
add person entities:
title: 'Create new Person entities'