arch-8.x-1.x-dev/modules/product/arch_product.permissions.yml

modules/product/arch_product.permissions.yml
access product:
  title: 'View published products'

bypass product access:
  title: 'Bypass product access control'
  description: 'View, edit and delete all product regardless of permission restrictions.'
  restrict access: true

administer product types:
  title: 'Administer product types'
  description: 'Maintain the types of product available and the fields that are associated with those types.'
  restrict access: true

administer products:
  title: 'Administer product'
  description: 'Promote, change ownership, edit revisions, and perform other tasks across all product types.'
  restrict access: true

access product overview:
  title: 'Access the product overview page'

view own unpublished product:
  title: 'View own unpublished product'

view all product revisions:
  title: 'View all product revisions'
  description: 'To view a product revision, you also need permission to view the product item.'

revert all product revisions:
  title: 'Revert all product revisions'
  description: 'To revert a product revision, you also need permission to edit the product item.'

delete all product revisions:
  title: 'Delete all product revisions'
  description: 'To delete a product revision, you also need permission to delete the product item.'

permission_callbacks:
  - \Drupal\arch_product\Access\ProductPermissions::productTypePermissions

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc