permissions-expert
Installation
SKILL.md
Frappe Permissions Expert
This skill provides comprehensive guidance for understanding and extending Frappe's permission system.
Overview
Frappe's permission system is multi-layered and evaluates permissions in a specific order:
- Administrator Check: Administrator user bypasses all permission checks
- Role-Based Permissions: DocType permissions configured through Permission Manager
- Controller Permissions: Custom
has_permissionhooks in doctypes - User Permissions: Document-level restrictions based on user-specific rules
- Permission Query Conditions: SQL-based filters for list views and reports
- Share Permissions: Explicit document sharing between users
Permission Types
Frappe supports the following permission types (ptypes):