Revision 62e6d12e snf-pithos-backend/pithos/backends/modular.py
b/snf-pithos-backend/pithos/backends/modular.py | ||
---|---|---|
869 | 869 |
self._apply_versioning(account, container, src_version_id, |
870 | 870 |
update_statistics_ancestors_depth=1) |
871 | 871 |
return dest_version_id |
872 |
|
|
872 |
|
|
873 | 873 |
@debug_method |
874 | 874 |
def get_object_permissions_bulk(self, user, account, container, names): |
875 | 875 |
"""Return the action allowed on the object, the path |
... | ... | |
880 | 880 |
container,names) |
881 | 881 |
access_objects = self.permissions.access_check_bulk(permissions_path, |
882 | 882 |
user) |
883 |
group_parents = access_objects['group_parents'] |
|
883 |
#group_parents = access_objects['group_parents']
|
|
884 | 884 |
nobject_permissions = {} |
885 | 885 |
for path in permissions_path: |
886 | 886 |
allowed = 1 |
... | ... | |
1713 | 1713 |
lookup_list.append(p) |
1714 | 1714 |
|
1715 | 1715 |
if len(lookup_list) > 0: |
1716 |
props = self.node.get_props(paths)
|
|
1716 |
props = self.node.get_props(lookup_list)
|
|
1717 | 1717 |
if props: |
1718 | 1718 |
for prop in props: |
1719 | 1719 |
if prop[1].split(';', 1)[0].strip() in ( |
Also available in: Unified diff