# HG changeset patch # User Julien Cristau # Date 1392631658 -3600 # Node ID e8040107b97e6f2b77c410a4384091b3dfc32a7e # Parent 072bb659877660c913ad9f740bfeed204097e58f [schema] explicitly declare 'add' permissions for a couple attributes diff -r 072bb6598776 -r e8040107b97e misc/migration/3.18.4_Any.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/misc/migration/3.18.4_Any.py Mon Feb 17 11:07:38 2014 +0100 @@ -0,0 +1,2 @@ +sync_schema_props_perms('CWSource') +sync_schema_props_perms('CWSourceHostConfig') diff -r 072bb6598776 -r e8040107b97e schemas/base.py --- a/schemas/base.py Fri Feb 14 17:07:25 2014 +0100 +++ b/schemas/base.py Mon Feb 17 11:07:38 2014 +0100 @@ -247,6 +247,7 @@ 'source\'s type'), __permissions__={ 'read': ('managers',), + 'add': ('managers',), 'update': ('managers',), }) # put this here and not in a subclass even if it's only for some sources @@ -284,6 +285,7 @@ 'values defined on the source.'), __permissions__={ 'read': ('managers',), + 'add': ('managers',), 'update': ('managers',), })