security.yaml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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: array
  47. toggleable: true
  48. value_only: true
  49. placeholder_value: PLUGIN_ADMIN.USERNAME
  50. label: PLUGIN_ADMIN.PAGE_AUTHORS
  51. help: PLUGIN_ADMIN.PAGE_AUTHORS_HELP
  52. header.permissions.groups:
  53. ignore@: true
  54. type: acl_picker
  55. label: PLUGIN_ADMIN.PAGE_GROUPS
  56. help: PLUGIN_ADMIN.PAGE_GROUPS_HELP
  57. ignore_empty: true
  58. data_type: permissions