You are here

profile.permissions.yml in Profile 2 8

File

profile.permissions.yml
View source
  1. administer profile types:
  2. title: 'Administer profile types'
  3. restrict access: true
  4. administer profiles:
  5. title: 'Administer profiles'
  6. restrict access: true
  7. bypass profile access:
  8. title: 'Bypass profile access control'
  9. description: 'View, edit and delete all user profiles, including private field values, regardless of permission restrictions.'
  10. restrict access: true
  11. permission_callbacks:
  12. - \Drupal\profile\ProfilePermissions::profileTypePermissions