mirror of
https://github.com/apache/superset.git
synced 2026-04-21 17:14:57 +00:00
chore: Cleanup table access check naming (#27772)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user