What problem does it solve? Adding authorization to a NocoBase 3 module requires coordinating resource registration, route protection, field-level and record-level database conditions, and Permission Set configuration, and mistakes in any layer can silently expose data. ## Core Features & Use Cases - Resource and Collection Registration: Register database collections and custom resource types with actions, fields, and owner attributes so Permission Sets, Default Access, Sharing Rules, and Restriction Rules can configure them. - Route and Query Protection: Apply authz.guard() for yes/no checks and authorize() to obtain database filter and field conditions that are compiled directly into SQL WHERE clauses. - Business Permission Configuration: Create and assign Permission Sets, configure Default Access, Sharing Rules, and Restriction Rules, and diagnose decisions with authz.explain(). - Use Case: A developer building an Orders module registers the orders collection, protects CRUD routes so contractors only see their own records, and grants sales managers full access through a Permission Set. ## Quick Start Ask the agent to add authorization to your NocoBase module by registering its collection and protecting its routes with database access conditions.