From 14b6a24bcc6dc8d8fd8b07f6c93538e564e3332a Mon Sep 17 00:00:00 2001 From: Craig Rueda Date: Wed, 14 Feb 2024 10:34:21 -0800 Subject: [PATCH] Fixing perms --- superset/views/users/api.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/superset/views/users/api.py b/superset/views/users/api.py index 5324975637d36..1f3404d46b4b3 100644 --- a/superset/views/users/api.py +++ b/superset/views/users/api.py @@ -33,7 +33,6 @@ class CurrentUserRestApi(BaseSupersetApi): openapi_spec_component_schemas = (UserResponseSchema,) @expose("/", methods=("GET",)) - @safe def get_me(self) -> Response: """Get the user object corresponding to the agent making the request. --- @@ -64,7 +63,6 @@ def get_me(self) -> Response: return self.response(200, result=user_response_schema.dump(g.user)) @expose("/roles/", methods=("GET",)) - @safe def get_my_roles(self) -> Response: """Get the user roles corresponding to the agent making the request. ---