Apple notes enterprise rbac
🧠The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.
npx -y skills add ComeOnOliver/skillshub --skill apple-notes-enterprise-rbacAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its author says it does
Copied from the file, not written here
Implement access control for multi-user Apple Notes automation. Trigger: "apple notes access control".
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.8 KB, as published. Nobody here has run it
Apple Notes Enterprise RBAC
Overview
Apple Notes does not have built-in RBAC. For multi-user scenarios, implement access control at the automation layer.
Account-Based Access Control
// Apple Notes supports multiple accounts (iCloud, Gmail, etc.)
// Use account separation as a basic access control mechanism
const Notes = Application("Notes");
const accounts = Notes.accounts();
// List all accounts
accounts.forEach(a => {
console.log(`Account: ${a.name()} — ${a.folders().length} folders`);
});
// Restrict operations to specific account
function getAccountByName(name) {
const account = Notes.accounts().find(a => a.name() === name);
if (!account) throw new Error(`Account not found: ${name}`);
return account;
}
Folder-Based Permission Model
// Implement folder-level access control
interface FolderPermission {
folder: string;
allowedUsers: string[];
operations: ("read" | "write" | "delete")[];
}
const PERMISSIONS: FolderPermission[] = [
{ folder: "Shared", allowedUsers: ["*"], operations: ["read"] },
{ folder: "Private", allowedUsers: ["admin"], operations: ["read", "write", "delete"] },
{ folder: "Team", allowedUsers: ["team-lead", "member"], operations: ["read", "write"] },
];