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:
		| @ -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", | ||||
|  | ||||
| @ -1,3 +1,6 @@ | ||||
| add hat types: | ||||
|   title: 'Add Hat Types' | ||||
|  | ||||
| add person entities: | ||||
|   title: 'Create new Person entities' | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user