ac-rules-expert

Installation
SKILL.md

AC Rules Expert

Expert guidance for the Frappe Tweaks AC Rule system - an advanced access control framework that extends Frappe's built-in permissions with fine-grained, rule-based access control.

Overview

The AC Rule system provides:

  • Fine-grained access control: Control access at the record level, not just doctype level
  • Dynamic filtering: Use SQL, Python, or JSON filters to determine access
  • Rule-based logic: Define complex access rules with Permit/Forbid semantics
  • Principal-based: Define who has access (users, roles, user groups, or custom logic)
  • Resource-based: Define what is being accessed (doctypes, reports, or custom resources)
  • Action-based: Control specific actions (read, write, delete, etc.)

Implementation Status

Current State:

  • DocTypes: Fully implemented - Automatic permission enforcement via Frappe hooks
  • Reports: Fully functional - Manual integration required (call API and inject SQL)
Related skills

More from kehwar/frappe_tweaks

Installs
4
First Seen
Feb 18, 2026