Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[23.1] Fix toolshed sessionless access to a few APIs broken with.. #18680

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/tool_shed/webapp/api/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __get_value_mapper(self, trans):
value_mapper = {"id": trans.security.encode_id}
return value_mapper

@web.expose_api_anonymous
@web.expose_api_anonymous_and_sessionless
def index(self, trans, deleted=False, **kwd):
"""
GET /api/users
Expand All @@ -86,7 +86,7 @@ def index(self, trans, deleted=False, **kwd):
user_dicts.append(user_dict)
return user_dicts

@web.expose_api_anonymous
@web.expose_api_anonymous_and_sessionless
def show(self, trans, id, **kwd):
"""
GET /api/users/{encoded_user_id}
Expand Down
Loading