Skip to content

Commit 59ec1b9

Browse files
authored
Merge branch 'master' into fix/archived-dataset-error-46365
2 parents 929682d + f357ec3 commit 59ec1b9

121 files changed

Lines changed: 7241 additions & 443 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/superset-python-unittest.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ jobs:
4343
needs: changes
4444
if: needs.changes.outputs.python == 'true'
4545
runs-on: ubuntu-26.04
46-
# Leave time for setup, the full suite, scoped coverage gates, and uploads.
47-
timeout-minutes: 45
46+
# The full suite takes about 42 minutes on two-worker runners. Leave
47+
# headroom for setup, scoped coverage gates, uploads, and runner variance.
48+
timeout-minutes: 60
4849
permissions:
4950
# Declaring any permission drops the defaults, and checkout and `$/` actions
5051
# need read access wherever the repository is not public.

‎UPDATING.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ assists people when migrating to a new version.
2424

2525
## Next
2626

27+
- Dashboard lookups by ID or slug return HTTP 403 when the dashboard exists but
28+
the caller cannot view it, rather than treating an access-filtered dashboard
29+
as missing. Missing and soft-deleted dashboards still return HTTP 404, as do
30+
dashboards withheld by an `EXTRA_ACCESS_QUERY_EXCLUSIONS` hook and dashboards
31+
outside an embedded guest token's scope. The legacy dashboard HTML entry also
32+
returns 403 for authenticated callers denied access. Clients should handle
33+
these responses separately; list endpoints continue to omit dashboards the
34+
caller cannot access.
35+
2736
- **Realtime websocket authentication (`WEBSOCKET_ENABLE`):** the browser
2837
authenticates the socket with a short-lived ticket from
2938
`GET /api/v1/realtime/token/` sent in-band, instead of a JWT cookie. The

‎docs/admin_docs/configuration/alerts-reports.mdx‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,26 @@ ALERT_REPORTS_EXECUTORS = [FixedExecutor("admin")]
428428

429429
Please refer to `ExecutorType` in the codebase for other executor types.
430430

431+
#### Draft dashboard access
432+
433+
Alerts and reports can include draft dashboards, but the account that runs the
434+
schedule must be an Admin or an editor of the dashboard. Access held by the person
435+
who creates the schedule does not give the execution account access. Dashboard
436+
viewer membership and dataset access alone do not grant access to a draft.
437+
438+
Use an execution account with the required access, or publish the dashboard when
439+
it is ready to share. Where the **Run as** control is enabled, select an authorized
440+
account. Otherwise, ask an administrator to check `ALERT_REPORTS_EXECUTORS`.
441+
The dashboard selector marks drafts. Both the schedule form and the dashboard
442+
header report form show guidance only for a selected draft dashboard. Administrators
443+
can see the configured fixed execution account. A schedule that runs as the current
444+
user shows guidance for that user.
445+
446+
Save and execution errors explain how to restore access. Before making a published
447+
dashboard a draft, a confirmation warns that active schedules may stop delivering.
448+
Check the execution accounts before confirming; the warning does not count affected
449+
schedules.
450+
431451
#### Per-schedule "Run As" executor
432452

433453
`ALERT_REPORTS_EXECUTORS` is a global, server-side setting that is invisible to the people

‎docs/admin_docs/configuration/cache.mdx‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,13 @@ chart still renders, but the next load re-queries the datasource instead of gett
195195
`skip_cache_value_too_large` statsd metric is incremented each time this happens. Set to `None` (the
196196
default) to disable the check.
197197

198+
## Warming the Data Cache
199+
200+
Dataset cache-warming requests identify a dataset using both `db_name` and `table_name`.
201+
For the legacy `GET /warm_up_cache/` endpoint, pass these names as query parameters.
202+
The table must belong to the named database; if either name does not match, the endpoint
203+
returns HTTP 404. New integrations can use `PUT /api/v1/dataset/warm_up_cache`.
204+
198205
## SQL Lab Query Results
199206

200207
Caching for SQL Lab query results is used when async queries are enabled and is configured using

‎docs/admin_docs/configuration/configuring-superset.mdx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,8 @@ with an eye that reveals its ending on request.
288288
reported either.
289289
- For a PEM private key, the ending comes from its base64 body, without the
290290
fixed footer, the line breaks or the padding.
291+
- A stored JWT also shows when it expires, read from its `exp` claim without
292+
verifying the signature; no other claim is read.
291293
- The endings come from
292294
`GET /api/v1/database/<pk>/encrypted_extra_hints/`, which requires the same
293295
permission as editing the database. Each call is recorded in the event log.

‎docs/developer_docs/semantic-query-errors.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Its `SemanticQueryErrorCode` accepts `UNSUPPORTED_QUERY`, `UNSUPPORTED_OFFSET`,
3131

3232
Use `UNSUPPORTED_GROUP_OTHERS_METRIC` when a provider cannot combine a selected
3333
metric into the remaining-series bucket, such as an average or distinct count
34-
computed from grouped results. Its guidance identifies Group remaining as "Others"
34+
computed from grouped results. Its guidance names the `Group remaining as "Others"` control
3535
and suggests turning it off or choosing a sum, count, minimum, or maximum metric.
3636
It does not change which aggregations the provider supports. Providers compatible
3737
with older SDKs should fall back to `UNSUPPORTED_QUERY` when this enum member is

‎docs/docs/using-superset/creating-your-first-dashboard.mdx‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,12 @@ You can mark a dashboard as a favorite by clicking on the star icon next to the
407407

408408
### Customizing dashboard
409409

410+
Dashboard access errors distinguish missing dashboards (**404 Not Found**) from
411+
existing dashboards you cannot view (**403 Forbidden**). The dashboard page shows
412+
a separate permission message for a 403 response. Opening a dashboard directly
413+
in a browser renders the dashboard error page with the corresponding HTTP status;
414+
API requests return JSON error responses.
415+
410416
The following URL parameters can be used to modify how the dashboard is rendered:
411417

412418
- `standalone`:

‎docs/docs/using-superset/exploring-data.mdx‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,11 @@ The **Custom** time range picker accepts natural language expressions alongside
499499

500500
These expressions are evaluated at query time, so saved charts always display data relative to the current date.
501501

502+
Time ranges include the start timestamp and exclude the end timestamp. If both
503+
endpoints resolve to the same timestamp, the picker warns that the range is empty;
504+
you can still apply it. To include a full day, use midnight on that day as the
505+
start and midnight on the following day as the end.
506+
502507
### Drill By Time Buckets
503508

504509
On time-series charts, **Drill by** from a grained temporal axis keeps the clicked

‎docs/static/resources/openapi.json‎

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7856,6 +7856,17 @@
78567856
},
78577857
"EncryptedExtraHintSchema": {
78587858
"properties": {
7859+
"expired": {
7860+
"description": "Whether the stored JWT has expired; null when expires_at is null",
7861+
"nullable": true,
7862+
"type": "boolean"
7863+
},
7864+
"expires_at": {
7865+
"description": "When the stored JWT expires, from its exp claim, in UTC; null when the value is not a JWT with an exp claim",
7866+
"format": "date-time",
7867+
"nullable": true,
7868+
"type": "string"
7869+
},
78597870
"label": {
78607871
"description": "Human readable name of the masked field",
78617872
"type": "string"
@@ -23499,7 +23510,7 @@
2349923510
},
2350023511
"/api/v1/database/{pk}/encrypted_extra_hints/": {
2350123512
"get": {
23502-
"description": "Returns the label and last characters of each sensitive field in the database's encrypted extra, so that a stored secret can be told apart from another one without revealing it. The number of characters is set by `ENCRYPTED_EXTRA_HINT_CHARS`; the list is empty when it is 0 or less.",
23513+
"description": "Returns the label and last characters of each sensitive field in the database's encrypted extra, so that a stored secret can be told apart from another one without revealing it. A JWT also gets the expiry its unverified exp claim states. The number of characters is set by `ENCRYPTED_EXTRA_HINT_CHARS`; the list is empty when it is 0 or less.",
2350323514
"parameters": [
2350423515
{
2350523516
"description": "The database id",
@@ -29189,6 +29200,11 @@
2918929200
"application/json": {
2919029201
"schema": {
2919129202
"properties": {
29203+
"default_executor": {
29204+
"description": "Fixed default execution account, visible only to admins.",
29205+
"nullable": true,
29206+
"type": "string"
29207+
},
2919229208
"result": {
2919329209
"$ref": "#/components/schemas/ReportConfigurationSchema"
2919429210
}

‎pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ ocient = [
264264
"shapely",
265265
"geojson",
266266
]
267+
openobserve = ["sqlalchemy-openobserve>=0.1.1, <0.2"]
267268
oracle = ["oracledb>=26.0.0, <27"]
268269
parseable = ["sqlalchemy-parseable>=0.1.6,<0.2.0"]
269270
pinot = ["pinotdb[sqlalchemy]>=9.2.2, <10.0.0"]

0 commit comments

Comments
 (0)