Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
chore(api v1): Deprecate superset/override_role_permissions endpoint (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrag1 authored Apr 18, 2023
1 parent 2a01aa6 commit 8bd4322
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion superset/security/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ class SupersetSecurityManager( # pylint: disable=too-many-public-methods
}

ADMIN_ONLY_PERMISSIONS = {
"can_override_role_permissions",
"can_sync_druid_source",
"can_override_role_permissions",
"can_approve",
Expand Down
1 change: 1 addition & 0 deletions superset/views/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ def datasources(self) -> FlaskResponse:
@has_access_api
@event_logger.log_this
@expose("/override_role_permissions/", methods=["POST"])
@deprecated()
def override_role_permissions(self) -> FlaskResponse:
"""Updates the role with the give datasource permissions.
Expand Down

0 comments on commit 8bd4322

Please sign in to comment.