Skip to content

Enforce read-only mode on import action#989

Merged
jnunemaker merged 1 commit intomainfrom
review-pr-988
Mar 26, 2026
Merged

Enforce read-only mode on import action#989
jnunemaker merged 1 commit intomainfrom
review-pr-988

Conversation

@jnunemaker
Copy link
Copy Markdown
Collaborator

The import action was the only mutating UI action missing the render_read_only if read_only? guard. This adds the server-side enforcement, hides the import card in settings when in read-only mode, and adds specs for the read-only behavior.

🤖 Generated with Claude Code

The import action was missing the read_only guard that all other
mutating UI actions have. This adds the server-side check and hides
the import card in the settings view when in read-only mode.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jnunemaker jnunemaker merged commit bf47515 into main Mar 26, 2026
46 checks passed
@jnunemaker jnunemaker deleted the review-pr-988 branch March 26, 2026 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant