mirror of
https://github.com/apache/superset.git
synced 2026-05-12 11:25:56 +00:00
chore(explore): Get Explore data from endpoint instead of bootstrap_data (#20519)
* feat(explore): Use v1/explore endpoint data instead of bootstrapData * Add tests * Fix ci * Remove redundant dependency * Use form_data_key in cypress tests * Add auth headers to for data request * Address comments * Remove displaying danger toast * Conditionally add auth headers * Address comments * Fix typing bug * fix * Fix opening dataset * Fix sqllab chart create * Run queries in parallel * Fix dashboard id autofill * Fix lint * Fix test
This commit is contained in:
committed by
GitHub
parent
f2af81b1c7
commit
b30f6a5db1
@@ -237,7 +237,7 @@ class DatasourceControl extends React.PureComponent {
|
||||
const isSqlSupported = datasource.type === 'table';
|
||||
const { user } = this.props;
|
||||
const allowEdit = datasource.owners
|
||||
.map(o => o.id || o.value)
|
||||
?.map(o => o.id || o.value)
|
||||
.includes(user.userId);
|
||||
isUserAdmin(user);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user