permissions-expert
CommunityMaster Frappe permissions with expert guidance.
Authorkehwar
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Frappe permissions can be complex, error-prone, and hard to audit. This skill consolidates best practices, reference patterns, and practical examples to help developers design secure, maintainable access controls.
Core Features & Use Cases
- Comprehensive guidance on permission evaluation order including has_permission, permission_query_conditions, write_permission_query_conditions, has_website_permission, and workflow hooks.
- Practical examples covering role-based permissions, User Permissions, sharing, perm levels, and workflow-based restrictions to troubleshoot and implement custom logic.
- Real-world scenarios showing how to combine multiple hooks for robust security, performance, and maintainability.
Quick Start
Provide a concrete example of implementing a has_permission hook for a sample DocType and verify access using test users.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: permissions-expert Download link: https://github.com/kehwar/frappe_tweaks/archive/main.zip#permissions-expert Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.