Skip to content

Commit

Permalink
fixes resource.load_tiles method to only filter if given perm #10274 (#…
Browse files Browse the repository at this point in the history
…10275)

* fixes resource.load_tiles method to only filter if given perm #10274

* nit #10274
  • Loading branch information
chrabyrd authored Nov 17, 2023
1 parent 048e6cb commit 09d5008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arches/app/models/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def save(self, *args, **kwargs):
if index is True:
self.index(context)

def load_tiles(self, user=None, perm=None):
def load_tiles(self, user=None, perm='read_nodegroup'):
"""
Loads the resource's tiles array with all the tiles from the database as a flat list
Expand Down

0 comments on commit 09d5008

Please sign in to comment.