Permission summary
Combines allowlisted document actions into a deterministic matrix for every supplied DocType and role.
Day 025 / Frappe / Permission Review
A dependency-free Python CLI that turns sanitized Frappe permission rows into a role-by-action matrix without connecting to a site or inspecting users.
Combines allowlisted document actions into a deterministic matrix for every supplied DocType and role.
Identifies identical and conflicting rows with the same DocType, role and permission level without deciding policy on the administrator's behalf.
Discards unrecognized properties and never requests user records, credentials or live site access.
Role-by-action matrix
Permission-level aggregation
Duplicate and conflict detection
Unknown properties discarded
No site connection or permission mutation
Eleven passing standard-library tests
Argparse, pathlib, JSON and collection helpers provide the complete dependency-free command-line workflow.
Models roles, DocTypes, permission levels and ten standard document actions from sanitized rows.
Eleven tests cover validation, aggregation, duplicate and conflict detection, privacy boundaries and exit behavior.