Skip to content

Remove unused files.user-selected.read-write entitlement#1

Merged
euxx merged 1 commit intoeuxx:mainfrom
JiffsMaverick:feature/remove-unused-file-entitlement
Mar 13, 2026
Merged

Remove unused files.user-selected.read-write entitlement#1
euxx merged 1 commit intoeuxx:mainfrom
JiffsMaverick:feature/remove-unused-file-entitlement

Conversation

@JiffsMaverick
Copy link
Copy Markdown
Contributor

VolumeGrid.entitlements includes com.apple.security.files.user-selected.read-write, but there are no file system operations anywhere in the current codebase — no FileManager, NSOpenPanel, NSSavePanel, or Data(contentsOf:) usage.

This entitlement was originally needed for the legacy LaunchAtLoginController which managed plist files in ~/Library/LaunchAgents/ for macOS < 13 support. That code was removed in 18156e4 (first released in v1.1.1), but the entitlement was not cleaned up at the time.

This PR removes it to follow the principle of least privilege.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR tightens VolumeGrid’s macOS sandbox permissions by removing an unused user-selected file read/write entitlement, aligning the app with least-privilege now that legacy filesystem-related code has been removed.

Changes:

  • Removes com.apple.security.files.user-selected.read-write from VolumeGrid.entitlements.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@euxx
Copy link
Copy Markdown
Owner

euxx commented Mar 13, 2026

Thanks for the cleanup.

@euxx euxx merged commit e51a6ea into euxx:main Mar 13, 2026
6 checks passed
@JiffsMaverick JiffsMaverick deleted the feature/remove-unused-file-entitlement branch March 14, 2026 02:21
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.

3 participants