You are here

authorization_profile.schema.yml in Authorization 8

config/schema/authorization_profile.schema.yml

File

config/schema/authorization_profile.schema.yml
View source
  1. authorization.authorization_profile.*:
  2. type: config_entity
  3. label: 'Authorization profile config'
  4. mapping:
  5. id:
  6. type: string
  7. label: ID
  8. label:
  9. type: label
  10. label: Label
  11. description:
  12. type: text
  13. label: Description
  14. uuid:
  15. type: uuid
  16. label: UUID
  17. provider:
  18. type: string
  19. label: 'Provider Plugin ID'
  20. provider_config:
  21. type: authorization.provider.plugin.[%parent.provider]
  22. label: 'Provider configuration'
  23. provider_mappings:
  24. type: sequence
  25. label: 'Provider mappings'
  26. sequence:
  27. type: authorization.provider_mappings.plugin.[%parent.%parent.provider]
  28. label: Provider map
  29. consumer:
  30. type: string
  31. label: 'Consumer Plugin ID'
  32. consumer_config:
  33. type: authorization.consumer.plugin.[%parent.consumer]
  34. label: 'Consumer configuration'
  35. consumer_mappings:
  36. type: sequence
  37. label: 'Consumer mappings'
  38. sequence:
  39. type: authorization.consumer_mappings.plugin.[%parent.%parent.consumer]
  40. label: 'Consumer map'
  41. status:
  42. type: boolean
  43. label: 'Enabled'
  44. # TODO: Restructure as booleans.
  45. synchronization_modes:
  46. type: sequence
  47. label: 'When should roles be granted/revoked from user?'
  48. sequence:
  49. user_logon:
  50. type: string
  51. label: 'When a user logs in via the configured provider.'
  52. synchronization_actions:
  53. type: mapping
  54. label: 'What actions would you like performed when roles are granted/revoked from user?'
  55. mapping:
  56. create_consumers:
  57. type: string
  58. label: 'Create consumers'
  59. revoke_provider_provisioned:
  60. type: string
  61. label: 'Revoke action'