security.yaml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. form:
  2. fields:
  3. _site:
  4. type: section
  5. title: PLUGIN_ADMIN.PAGE_ACCESS
  6. underline: true
  7. fields:
  8. header.login.visibility_requires_access:
  9. type: toggle
  10. toggleable: true
  11. label: PLUGIN_ADMIN.PAGE_VISIBILITY_REQUIRES_ACCESS
  12. help: PLUGIN_ADMIN.PAGE_VISIBILITY_REQUIRES_ACCESS_HELP
  13. highlight: 0
  14. options:
  15. 1: PLUGIN_ADMIN.YES
  16. 0: PLUGIN_ADMIN.NO
  17. validate:
  18. type: bool
  19. header.access:
  20. type: acl_picker
  21. label: PLUGIN_ADMIN.PAGE_ACCESS
  22. help: PLUGIN_ADMIN.PAGE_ACCESS_HELP
  23. ignore_empty: true
  24. data_type: access
  25. validate:
  26. type: array
  27. value_type: bool
  28. _admin:
  29. security@: {or: [admin.super, admin.configuration.pages]}
  30. type: section
  31. title: PLUGIN_ADMIN.PAGE PERMISSIONS
  32. underline: true
  33. fields:
  34. header.permissions.inherit:
  35. type: toggle
  36. toggleable: true
  37. label: PLUGIN_ADMIN.PAGE_INHERIT_PERMISSIONS
  38. help: PLUGIN_ADMIN.PAGE_INHERIT_PERMISSIONS_HELP
  39. highlight: 1
  40. options:
  41. 1: PLUGIN_ADMIN.YES
  42. 0: PLUGIN_ADMIN.NO
  43. validate:
  44. type: bool
  45. header.permissions.authors:
  46. type: list
  47. toggleable: true
  48. label: PLUGIN_ADMIN.PAGE_AUTHORS
  49. help: PLUGIN_ADMIN.PAGE_AUTHORS_HELP
  50. fields:
  51. value:
  52. type: text
  53. placeholder: PLUGIN_ADMIN.USERNAME
  54. style: vertical
  55. header.permissions.groups:
  56. ignore@: true
  57. type: acl_picker
  58. label: PLUGIN_ADMIN.PAGE_GROUPS
  59. help: PLUGIN_ADMIN.PAGE_GROUPS_HELP
  60. ignore_empty: true
  61. data_type: permissions