Skip to content

Commit

Permalink
[fix][xs]: Ignore checking for loggedin user
Browse files Browse the repository at this point in the history
  • Loading branch information
sagargg committed Dec 12, 2023
1 parent 78ff63a commit 2002f2a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ckanext/noanonaccess/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ def identify(self):
else:
is_anonoumous_user = True

# if not anonymous user then no need to check
if not is_anonoumous_user:
return

current_path = tk.request.path

def _get_blueprint_and_view_function():
Expand Down

0 comments on commit 2002f2a

Please sign in to comment.