Project

General

Profile

« Previous | Next » 

Revision ea386896

Added by Marc Dequènes over 12 years ago

  • ID ea386896174a9571c47c387eb8da532a4633ebe9

[evol] attributes parameters rework §3 (schema + defaults) (refs #142)

View differences:

data/ldap_shadows/default_config/aspect.yaml
associated_relations: []
associated_attributes: []
associate_unclaimed_attributes: false
presentation:
hidden_attributes: []
expert_attributes: []
interface:
attributes: {}
attribute_defaults: {}
relations: {}
plugin: {}
data/ldap_shadows/default_config/object.yaml
parent_handle_restrictions:
parent_dn_restrictions:
default_parent:
presentation:
interface:
name_attribute:
hidden_attributes: []
expert_attributes: []
attributes: {}
attribute_defaults: {}
relations: {}
plugin: {}
data/ldap_shadows/default_config/shadow.yaml
---
presentation:
hidden_attributes: []
interface:
tree_objects: []
attributes: {}
attribute_defaults:
access: full
visibility: visible
presentation_multiple: list
possible_values:
data/ldap_shadows/schema/aspect.yaml
sequence:
- type: str
"associate_unclaimed_attributes": {type: bool}
"presentation":
"interface":
type: map
mapping:
"hidden_attributes":
type: seq
sequence:
- type: str
"expert_attributes":
type: seq
sequence:
- type: str
"attributes":
type: map
mapping:
=: &attrdata
type: map
mapping:
"access": {type: str, enum: [full, read_only, write_only, forbidden]}
"visibility": {type: str, enum: [always, expert, admin, never]}
"presentation_multiple": {type: str, enum: [list, shortlist]}
"possible_values":
type: seq
sequence:
- type: scalar
"attribute_defaults": *attrdata
"relations":
type: map
mapping:
data/ldap_shadows/schema/object.yaml
"parent_dn_restrictions": {type: str}
"default_parent": {type: str}
=: {type: any}
"presentation":
"interface":
type: map
mapping:
"name_attribute": {type: str}
"hidden_attributes":
type: seq
sequence:
- type: str
"expert_attributes":
type: seq
sequence:
- type: str
"attributes":
type: map
mapping:
=: &attrdata
type: map
mapping:
"access": {type: str, enum: [full, read_only, write_only, forbidden]}
"visibility": {type: str, enum: [always, expert, admin, never]}
"presentation_multiple": {type: str, enum: [list, shortlist]}
"possible_values":
type: seq
sequence:
- type: scalar
"attribute_defaults": *attrdata
"relations":
type: map
mapping:
data/ldap_shadows/schema/shadow.yaml
---
type: map
mapping:
"presentation":
"interface":
type: map
mapping:
"hidden_attributes":
type: seq
sequence:
- type: str
"tree_objects":
type: seq
sequence:
- type: str
"attributes":
type: map
mapping:
=: &attrdata
type: map
mapping:
"access": {type: str, enum: [full, read_only, write_only, forbidden]}
"visibility": {type: str, enum: [always, expert, admin, never]}
"presentation_multiple": {type: str, enum: [list, shortlist]}
"possible_values":
type: seq
sequence:
- type: scalar
"attribute_defaults": *attrdata

Also available in: Unified diff