chore: Cleanup table access check naming (#27772)

This commit is contained in:
John Bodley
2024-04-03 16:02:00 -07:00
committed by GitHub
parent 5beda309ab
commit 27acc0b133
2 changed files with 6 additions and 6 deletions

View File

@@ -30,9 +30,9 @@ from superset.views.base_api import BaseSupersetModelRestApi
logger = logging.getLogger(__name__)
def check_datasource_access(f: Callable[..., Any]) -> Callable[..., Any]:
def check_table_access(f: Callable[..., Any]) -> Callable[..., Any]:
"""
A Decorator that checks if a user has datasource access
A Decorator that checks if a user has access to a table in a database.
"""
def wraps(