Unverified Commit d4744923 authored by Marius van den Beek's avatar Marius van den Beek Committed by GitHub
Browse files

Merge pull request #18680 from jmchilton/restore_tool_shed_sessionless_apis

[23.1] Fix toolshed sessionless access to a few APIs broken with..
parents 80c55eb6 7f4bb4f3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ class UsersController(BaseAPIController):
        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
@@ -86,7 +86,7 @@ class UsersController(BaseAPIController):
            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}