Allow extensions to define custom project properties

This commit is contained in:
Sybren A. Stüvel 2016-09-20 15:59:35 +02:00
parent 40896fc70b
commit 78824c9c2a

View File

@ -623,7 +623,16 @@ projects_schema = {
'permissions': {
'type': 'dict',
'schema': permissions_embedded_schema
}
},
# Properties defined by extensions. Extensions should use their name
# (see the PillarExtension.name property) as the key, and are free to
# use whatever they want as value (but we suggest a dict for future
# extendability).
'extension_props': {
'type': 'dict',
'required': False,
},
}
activities_subscriptions_schema = {