Fix Mail Automation permission: missing entitlement, not an OS bug

Confab.entitlements was missing com.apple.security.automation.apple-events,
so tccd's hardened-runtime policy silently refused to even prompt for
Automation consent to Mail.app — confirmed via tccd's own log, the same
failure class as the earlier Calendar/Contacts entitlement bug. Unhides
the Mail integration (MailTools.isHiddenPendingAppleFix = false).
Live-verified: Request Access now grants successfully on macOS 27 beta 7.
This commit is contained in:
2026-08-26 11:48:29 +02:00
parent f1d739f309
commit 6b4448df43
3 changed files with 12 additions and 9 deletions
+8 -6
View File
@@ -32,13 +32,15 @@ enum PersonalDataTools {
static let isHiddenPendingAppleFix = false
}
/// Kill switch for the Mail integration, hidden while blocked by a confirmed macOS 27 beta bug:
/// first-time Automation consent grants never show a dialog or create a TCC record at all (not
/// fixable in-app see feature_mail_applescript_integration in memory for the full investigation).
/// Same shape as `PersonalDataTools` above. Flip back to `false` once Rune confirms a newer beta/RC
/// fixes it the tool code itself is complete and doesn't need changes, just re-enabling.
/// Kill switch for the Mail integration. Was hidden after first-time Automation consent grants
/// appeared to fail on macOS 27 beta with no dialog and no TCC record turned out to be a real
/// Confab bug, not an OS bug: `Confab.entitlements` was missing `com.apple.security.automation.
/// apple-events`, so `tccd` refused to even prompt (confirmed via `tccd`'s own log, same failure
/// class as the earlier Calendar/Contacts entitlement bug on `PersonalDataTools`). Fixed and
/// live-verified granting successfully on beta 7 (2026-08-26). Same shape as `PersonalDataTools`
/// above kept as infrastructure, not deleted, in case a future regression needs it again.
enum MailTools {
static let isHiddenPendingAppleFix = true
static let isHiddenPendingAppleFix = false
}
@Observable