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.ymlView source
- administer bat_unit_bundle entities:
- title: 'Administer unit bundles'
- description: 'Allows users to add unit bundles and configure their fields.'
-
- view any bat_unit unpublished entity:
- title: 'View any unpublished unit'
- description: 'Allows users to view any unpublished unit.'
-
- view own bat_unit unpublished entities:
- title: 'View own unpublished units'
- description: 'Allows users to view own unpublished units.'
-
- administer bat_type_bundle entities:
- title: 'Administer type bundles'
- description: 'Allows users to add type bundles and configure their fields.'
-
- view any bat_unit_type unpublished entity:
- title: 'View any unpublished type'
- description: 'Allows users to view any unpublished type.'
-
- view own bat_unit_type unpublished entities:
- title: 'View own unpublished types'
- description: 'Allows users to view own unpublished types.'
-
- permission_callbacks:
- - Drupal\bat_unit\UnitPermissions::permissions