You are here

bat_unit.permissions.yml in Booking and Availability Management Tools for Drupal 8

modules/bat_unit/bat_unit.permissions.yml

File

modules/bat_unit/bat_unit.permissions.yml
View source
  1. administer bat_unit_bundle entities:
  2. title: 'Administer unit bundles'
  3. description: 'Allows users to add unit bundles and configure their fields.'
  4. view any bat_unit unpublished entity:
  5. title: 'View any unpublished unit'
  6. description: 'Allows users to view any unpublished unit.'
  7. view own bat_unit unpublished entities:
  8. title: 'View own unpublished units'
  9. description: 'Allows users to view own unpublished units.'
  10. administer bat_type_bundle entities:
  11. title: 'Administer type bundles'
  12. description: 'Allows users to add type bundles and configure their fields.'
  13. view any bat_unit_type unpublished entity:
  14. title: 'View any unpublished type'
  15. description: 'Allows users to view any unpublished type.'
  16. view own bat_unit_type unpublished entities:
  17. title: 'View own unpublished types'
  18. description: 'Allows users to view own unpublished types.'
  19. permission_callbacks:
  20. - Drupal\bat_unit\UnitPermissions::permissions