apple-notes-enterprise-rbac
Installation
SKILL.md
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.
Prerequisites
- An identity source, role owner, approval workflow, and audit retention policy external to Notes.app.
- A reviewed allowlist mapping stable automation identities to explicitly configured account/folder scopes.
- MDM and legal/security approval for managed-device controls; folder conventions alone are not an authorization boundary.
Instructions
- Authenticate and authorize every automation action before invoking JXA, default-deny unknown roles, accounts, folders, and operations.
- Use stable configuration identifiers rather than account or folder names in telemetry; store mappings in a protected configuration service.
- Apply least privilege: separate read, write, delete, and export approvals, and require elevated review for destructive operations.
- Audit authorization decisions and periodically test revocation; TCC consent does not replace application authorization.