Skip to content

Commit

Permalink
fix(perms): search should use models.read_nodegroup as permission
Browse files Browse the repository at this point in the history
  • Loading branch information
philtweir committed Oct 17, 2024
1 parent d04acdc commit c4c4a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arches/app/search/components/resource_type_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


def get_permitted_graphids(user, permitted_nodegroups):
return get_resource_types_by_perm(user, "read_nodegroup")
return get_resource_types_by_perm(user, ["models.read_nodegroup"])


class ResourceTypeFilter(BaseSearchFilter):
Expand Down

0 comments on commit c4c4a16

Please sign in to comment.