Skip to content

Fix PR #221 permission blockers#272

Closed
SaladDay wants to merge 21 commits into
mainfrom
saladday/pr-221-permission-fix
Closed

Fix PR #221 permission blockers#272
SaladDay wants to merge 21 commits into
mainfrom
saladday/pr-221-permission-fix

Conversation

@SaladDay

Copy link
Copy Markdown
Owner

Continues PR #221 from a SaladDay-owned branch.

Changes:

  • Harden cc-switch config storage path handling against parent components, user symlink components, symlinked sensitive files, and unsafe permission fixes.
  • Reject symlink/non-file/multi-hardlink main SQLite database files before opening or migrating.
  • Harden backup DB creation and recursive sensitive backup permission checks.
  • Align WebDAV/SQLite compatibility with upstream schema v11, including pricing_model and rollup request/pricing model dimensions.

Verification:

  • cargo test with isolated HOME / CC_SWITCH_CONFIG_DIR / app config dirs
  • cargo fmt --check
  • git diff --check
  • cargo clippy
  • Fresh-eyes subagent review: NO BLOCKERS for the two prior permission blockers.

@SaladDay

Copy link
Copy Markdown
Owner Author

Closing this handoff PR; continuing directly on PR #221 as requested by the repository owner.

@SaladDay SaladDay closed this Jun 12, 2026
@SaladDay SaladDay deleted the saladday/pr-221-permission-fix branch June 12, 2026 15:20
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.

2 participants