You are here

apply_for_role.schema.yml in Apply for role 8

src/config/schema/apply_for_role.schema.yml

File

src/config/schema/apply_for_role.schema.yml
View source
  1. apply_for_role.settings:
  2. type: config_object
  3. label: 'Apply for Role configuration'
  4. mapping:
  5. multiple_roles_per_app:
  6. type: boolean
  7. label: 'Allow a user to select multiple roles on application form.'
  8. #Not boolean because choices are either no(0), optional(1) or yes(2)
  9. apply_for_role_on_registration_form:
  10. #boolean?
  11. type: integer
  12. label: 'Placement of apply for role on registration form.'
  13. # @TODO: Determine just what this does and update label if incorrect.
  14. display_approved_roles_app_form:
  15. type: boolean
  16. label: 'Displaying of the approved roles app form'
  17. allow_user_message_with_app:
  18. type: boolean
  19. label: 'Allow the user to submit a message with their application.'
  20. #figure out how to store multiple roles? See OS training!
  21. apply_for_role_roles:
  22. type: sequence
  23. label: 'List of roles that a user can apply for with apply for role.'
  24. user_apply_form_description:
  25. type: string
  26. label: 'User application form description field.'
  27. send_email_to_admin:
  28. type: boolean
  29. label: 'Send an email to the admin(s) on role application.'
  30. admin_email_addresses:
  31. type: string
  32. label: 'comma seperated list of emails -OR- blank to send to UID 1'
  33. admin_email_subject:
  34. type: string
  35. label: 'Subject of email going to administrator(s)'
  36. admin_email_body:
  37. type: string
  38. label: 'Body of email going to administrator(s)'
  39. send_user_approval_email:
  40. type: boolean
  41. label: 'Send an email to the user upon role application approval.'
  42. send_user_approval_subject:
  43. type: string
  44. label: 'Subject line of email to users upon role application approval'
  45. send_user_approval_body:
  46. type: string
  47. label: 'body of email to users upon role application approval'
  48. send_user_deny_email:
  49. type: boolean
  50. label: 'Send users a denial email if application is denied.'
  51. send_user_deny_subject:
  52. type: string
  53. label: 'User application denial email subject line.'
  54. send_user_deny_body:
  55. type: string
  56. label: 'User application denial email body.'