Skip to content

docs(semantic): explain datasource list modification eligibility - #46462

Merged
rusackas merged 2 commits into
apache:masterfrom
mikebridge:docs-semantic-view-modify-eligibility
Nov 23, 2026
Merged

rusackas merged 2 commits into
apache:masterfrom
mikebridge:docs-semantic-view-modify-eligibility

Conversation

@mikebridge

Copy link
Copy Markdown
Member

SUMMARY

This documents how the datasets list decides whether a semantic view can be edited or deleted. It explains the can_modify field and makes clear that write commands still check permissions and dependencies.

The paragraph was split out of #46448 so the code change does not wait on a docs review. It documents that PR's behavior and should land alongside or after it. The text is unchanged from the original PR.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Not applicable; documentation only.

TESTING INSTRUCTIONS

Changed-file pre-commit hooks pass. Verified the paragraph against #46448's implementation. No runtime changes or test runs.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@github-actions github-actions Bot added the doc Namespace | Anything related to documentation label Nov 22, 2026
@codeant-ai-for-open-source

codeant-ai-for-open-source Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

CodeAnt  CodeAnt PR Risk

🟢  Low Risk

  • The PR appears safe to merge; no actionable issues were identified in the review.

Assessed commit: e4c740c3642b

@aminghadersohi aminghadersohi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The paragraph matches the merged can_modify serializer, datasets-list gating and write-command checks.

Nit: The row's changed_by names the creator until the view is first edited, so 'not editor or creator identities' is overstated.

@mikebridge

Copy link
Copy Markdown
Member Author

Thanks @aminghadersohi, fixed in e4c740c. The paragraph now says can_modify is a boolean that doesn't list editors, and that the row's existing changed_by still names the last editor, which is the creator until the view is first edited.

@rusackas rusackas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks @mikebridge.

@rusackas
rusackas merged commit 467a47e into apache:master Nov 23, 2026
71 checks passed
jprinet added a commit to jprinet/superset that referenced this pull request Nov 23, 2026
* origin/master: (393 commits)
  fix(a11y): name the semantic view description input (apache#46458)
  docs(semantic): explain datasource list modification eligibility (apache#46462)
  docs(semantic-layer): document NULL-preserving exclusion filters (apache#46447)
  fix(uploads): skip folder and system entries in columnar ZIP uploads (apache#45617)
  fix(i18n-es): promote 47 of the zero-context backfill entries (apache#45847)
  fix(mcp): return structured ChartError on SQLAlchemyError in get_chart_sql (apache#44351)
  fix(datasets): follow semantic view modification permissions (apache#46448)
  fix(docker): account for container memory limits in frontend-mem-nag.sh (apache#46373)
  fix(reports): carry the report's native filters in the email and Slack link (apache#46062)
  fix(explore): apply the dataset timezone to grained temporal filter values (apache#46175)
  fix(i18n): enforce the do-not-translate registry across the catalogs (apache#45974)
  chore(logging): log unparseable virtual dataset SQL at debug in the RLS lookup (apache#46139)
  fix(i18n): split parameter-suggestion plural into two messages (apache#46049)
  test(partition-mapping): cover Hive/Impala mirrored SQL, cache outage and migration (apache#46319)
  perf(dashboard): look up the dashboard once per filter_state read (apache#46314)
  fix(i18n): load the dayjs locale for every language with a catalog (apache#45982)
  test(semantic-layer): make date export parametrization deterministic (apache#46449)
  fix(oauth2): idempotent OAuth2 completion and resilient listener (apache#40292)
  fix(explore): prevent full table scan when SQL expression is used as x-axis (apache#41339)
  feat(mcp): radar chart type plugin (apache#43571)
  ...

# Conflicts:
#	.github/workflows/docker.yml
#	.github/workflows/superset-frontend.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Namespace | Anything related to documentation size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants