Policy Development
Overview
This section provides step-by-step developer guides for authoring authorization policies in the Keymate platform. Keymate supports dual-mode policy authoring: a visual Expression Builder for drag-and-drop condition composition, and an FQL code editor for direct expression writing. These guides cover both approaches along with Dynamic policy scripting and resource modeling workflows.
When to Read This Section
- You want to author ABAC or RADAC policies using the visual Expression Builder
- You want to write FQL expressions or JavaScript scripts for policy conditions
- You want to model resources and scopes from OpenAPI specifications
- You want to understand the AccessRuleSet DSL for access rule configuration
Who Should Start Here
- Developer — Developers designing and implementing authorization policies
Key Topics
Policy Authoring with DSL
FQL expression syntax, context objects, operators, and common writing patterns.
GUI-Based Policy Authoring
Visual Expression Builder for drag-and-drop ABAC and RADAC condition building.
Resource Modeling from OpenAPI
Generate resource and scope definitions from OpenAPI specifications.
Working with AccessRuleSet DSL
Configure access rules for resource resolution and token exchange.
Recommended Reading Order
- Policy Authoring with DSL — Learn FQL syntax and expression patterns
- GUI-Based Policy Authoring — Build conditions visually with the Expression Builder
- Resource Modeling from OpenAPI — Map API endpoints to protected resources
- Working with AccessRuleSet DSL — Configure access rules for the Access Gateway
Related Sections
- Developer Tooling — FQL editor features, API explorer, and testing tools
- Policy Management — Admin Console guide for policy CRUD operations
- Policy Model — Conceptual overview of Keymate's policy architecture