equal
deleted
inserted
replaced
175 |
175 |
176 class CWProperty(EntityType): |
176 class CWProperty(EntityType): |
177 """used for cubicweb configuration. Once a property has been created you |
177 """used for cubicweb configuration. Once a property has been created you |
178 can't change the key. |
178 can't change the key. |
179 """ |
179 """ |
180 permissions = { |
180 __permissions__ = { |
181 'read': ('managers', 'users', 'guests'), |
181 'read': ('managers', 'users', 'guests'), |
182 'add': ('managers', 'users',), |
182 'add': ('managers', 'users',), |
183 'update': ('managers', 'owners',), |
183 'update': ('managers', 'owners',), |
184 'delete': ('managers', 'owners',), |
184 'delete': ('managers', 'owners',), |
185 } |
185 } |