Skip to content

Commit

Permalink
Fixing perms
Browse files Browse the repository at this point in the history
  • Loading branch information
craig-rueda committed Feb 14, 2024
1 parent 5f1697e commit 14b6a24
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions superset/views/users/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
---
Expand Down Expand Up @@ -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.
---
Expand Down

0 comments on commit 14b6a24

Please sign in to comment.