fix removed default permissions field when adding asset
Issue has been introduced by:
@@ -57,6 +57,8 @@ class Client(object):
"""Add asset."""
data = deepcopy(data) # make a deep copy for avoiding modification by reference
files = files or {}
+ if 'permissions' not in data:
+ data['permissions'] = 'all'
if dryrun:
data['dryrun'] = True
