Skip to content

Commit

Permalink
rm bulk abs method, update pos arg search_result --> search_results, re
Browse files Browse the repository at this point in the history
  • Loading branch information
whatisgalen committed Jan 2, 2025
1 parent 71bfda4 commit f55c270
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions arches/app/utils/permission_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,7 @@ def get_permission_inclusions(self): ...
def get_permission_search_filter(self, user): ...

@abstractmethod
def get_search_ui_permissions(self, user, search_result, groups=None): ...

@abstractmethod
def get_search_ui_permissions_bulk(self, user, search_results, groups=None): ...
def get_search_ui_permissions(self, user, search_results, groups=None): ...

@abstractmethod
def get_default_permissions(user_or_group, model): ...
Expand Down Expand Up @@ -394,14 +391,8 @@ def get_permission_inclusions():
return _get_permission_framework().get_permission_inclusions()


def get_search_ui_permissions(user, search_result, groups=None):
def get_search_ui_permissions(user, search_results, groups=None):
return _get_permission_framework().get_search_ui_permissions(
user, search_result, groups
)


def get_search_ui_permissions_bulk(user, search_results, groups=None):
return _get_permission_framework().get_search_ui_permissions_bulk(
user, search_results, groups
)

Expand Down

0 comments on commit f55c270

Please sign in to comment.