Commit 24d17686 authored by Nicolas Chauvat's avatar Nicolas Chauvat
Browse files

[schema] set permissions to make billing addresses private

parent 2ad0bf6f18b2
......@@ -35,6 +35,12 @@ class has_shoppingitemtype(RelationDefinition):
cardinality = '*1'
class BillingAddress(EntityType):
__permissions__ = {
'read': ('managers', 'owners',),
'add': ('managers', 'users',),
'update': ('managers', 'owners',),
'delete': ('managers', 'owners',),
organisation = String(required=True, maxsize=256)
street = String(required=True, maxsize=256)
street2 = String(maxsize=256)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment