You are here

eck.permissions.yml in Entity Construction Kit (ECK) 8

File

eck.permissions.yml
View source
  1. # The permissions.yml file defines the permissions for the module.
  2. # Defines the administer permission for the entity types.
  3. bypass eck entity access:
  4. title: 'Bypass ECK entity access control'
  5. description: 'View, edit and delete all ECK entities regardless of permission restrictions.'
  6. restrict access: true
  7. administer eck entity types:
  8. title: 'Administer ECK entity types.'
  9. description: 'Create, edit, delete and perform other tasks across all ECK entity types.'
  10. restrict access: true
  11. administer eck entity bundles:
  12. title: 'Administer ECK entity bundles'
  13. description: 'Create, edit, delete and perform other tasks across all ECK entity bundles.'
  14. restrict access: true
  15. administer eck entities:
  16. title: 'Administer ECK entities'
  17. description: 'Create, edit, delete and perform other tasks across all ECK entities.'
  18. restrict access: true
  19. view unpublished eck entities:
  20. title: 'View unpublished ECK entities'
  21. permission_callbacks:
  22. - '\Drupal\eck\PermissionsGenerator::entityPermissions'