access_policy-1.0.x-dev/config/schema/access_policy.schema.yml

config/schema/access_policy.schema.yml
access_policy.settings:
  type: config_object
  label: "Access policy settings"
  mapping:
    entity_type_settings:
      type: sequence
      label: 'Access Rule Plugins'
      sequence:
        type: mapping
        label: "Entity type"
        mapping:
          selection_strategy:
            type: string
            label: "Selection strategy"
          selection_strategy_settings:
            type: sequence
            label: "Selection strategy settings"
            sequence:
              type: ignore
              label: 'Selection strategy settings'
          selection_sets:
            type: sequence
            label: 'Selection sets'
            sequence:
              type: mapping
              mapping:
                id:
                  type: string
                  label: 'ID'
                label:
                  type: label
                  label: 'Label'
access_policy.access_policy.*:
  type: config_entity
  label: 'Access Policy'
  mapping:
    id:
      type: string
      label: 'ID'
    label:
      type: label
      label: 'Label'
    description:
      type: string
      label: 'Description'
    weight:
      type: integer
      label: 'Weight'
    access_rules:
      type: sequence
      label: 'Access Rule Plugins'
      sequence:
        type: mapping
        label: "Plugin"
        mapping:
          id:
            type: string
            label: "ID"
          group:
            type: string
            label: "Group"
          plugin_id:
            type: string
            label: "Plugin ID"
          field:
            type: string
            label: "Field"
          entity_type:
            type: string
            label: "Entity type"
          operator:
            type: string
            label: "Operator"
          settings:
            type: sequence
            label: 'Access Rule Settings'
            sequence:
              type: ignore
              label: 'Access Rule Settings'
          required:
            type: boolean
            label: "Required"
    access_rule_operator:
      type: string
      label: 'Validation Operator'
    query:
      type: boolean
      label: "Query"
    target_entity_type_id:
      type: string
      label: "Target entity type"
    operations:
      type: sequence
      label: "Operations"
      sequence:
        type: mapping
        label: "Operation"
        mapping:
          op:
            type: string
            label: "Operation"
          permission:
            type: boolean
            label: "Permission"
          access_rules:
            type: boolean
            label: "Access rules"
          show_column:
            type: boolean
            label: "Show column"
    type:
      type: string
      label: "Access policy type"
    http_403_response:
      type: mapping
      label: "Access denied response"
      mapping:
        plugin_id:
          type: string
          label: "Plugin ID"
        settings:
          type: sequence
          label: "Plugin settings"
          sequence:
            type: ignore
            label: 'Plugin settings'
    selection_rules:
      type: sequence
      label: 'Selection Rule Plugins'
      sequence:
        type: mapping
        label: "Plugin"
        mapping:
          id:
            type: string
            label: "ID"
          group:
            type: string
            label: "Group"
          plugin_id:
            type: string
            label: "Plugin ID"
          field:
            type: string
            label: "Field"
          entity_type:
            type: string
            label: "Entity type"
          operator:
            type: string
            label: "Operator"
          settings:
            type: sequence
            label: 'Selection Rule Settings'
            sequence:
              type: ignore
              label: 'Plugin settings'
          required:
            type: boolean
            label: "Required"
    selection_rule_operator:
      type: string
      label: 'Validation Operator'
    selection_set:
      type: sequence
      label: "Selection set"
      sequence:
        type: "string"
        label: "Selection set"
field.value.access_policy:
  type: mapping
  label: 'Access policy'
  mapping:
    value:
      type: string
      label: 'Value'

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc