apple-notes-enterprise-rbac

Featured

Implement access control for multi-user Apple Notes automation. Trigger: "apple notes access control".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Apple Notes Enterprise RBAC ## Overview Apple Notes has no built-in role-based access control (RBAC). In enterprise environments with Managed Apple IDs via Apple Business Manager, administrators control Notes access through MDM (Mobile Device Management) profiles. For multi-user automation scenarios, implement access control at the automation layer using account separation, folder-based permissions, and shared folder restrictions. iCloud Shared Notes (macOS Ventura+) provide basic collaboration, but fine-grained permissions (read-only vs edit) must be enforced in your wrapper code. ## Account-Based Access Control ```javascript // Apple Notes supports multiple accounts (iCloud, Gmail, On My Mac) // Use account separation as the primary access boundary const Notes = Application("Notes"); function getAccountByName(name) { const account = Notes.accounts().find(a => a.name() === name); if (!account) throw new Error(`Account not found: ${name}`); return account; } // Audit all accounts and their folder structures function auditAccounts() { return Notes.accounts().map(a => ({ name: a.name(), folders: a.folders().map(f => f.name()), noteCount: a.notes().length, })); } // Restrict automation to a specific account only const ALLOWED_ACCOUNT = "iCloud"; function safeGetNotes() { const account = getAccountByName(ALLOWED_ACCOUNT); return account.notes(); } ``` ## Folder-Based Permission Model ```typescript // src/rbac/permissions.ts interface FolderPer...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category