Skip to content

Commit

Permalink
fix(acls): extend correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Avantol13 committed Jun 28, 2019
1 parent 55547ff commit e0af39e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fence/blueprints/data/indexd.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,8 @@ def metadata(self):

@cached_property
def public(self):
authz_resources = self.set_acls.extend(self.index_document.get("authz", []))
authz_resources = list(self.set_acls)
authz_resources.extend(self.index_document.get("authz", []))
return "*" in authz_resources or "/open" in authz_resources

@login_required({"data"})
Expand Down

0 comments on commit e0af39e

Please sign in to comment.