You are here

userprotect.permissions.yml in User protect 8

File

userprotect.permissions.yml
View source
  1. userprotect.mail.edit:
  2. title: 'Change own e-mail'
  3. description: 'Allow users to edit their own e-mail address.'
  4. userprotect.pass.edit:
  5. title: 'Change own password'
  6. description: 'Allow users to edit their own password.'
  7. userprotect.account.edit:
  8. title: 'Change own account'
  9. description: 'Allow users to edit their own account.'
  10. userprotect.bypass_all:
  11. title: 'Bypass all user protections'
  12. description: 'All user protections rules are ignored for users with this permission.'
  13. restrict access: true
  14. userprotect.administer:
  15. title: 'Administer User protect'
  16. description: 'Set up access rules for user administrators for various user-related edits.'
  17. restrict access: true
  18. permission_callbacks:
  19. - Drupal\userprotect\UserProtectPermissions::permissions