descope-fga-schema

Draft, validate, and apply Descope FGA schemas using the ReBAC/ABAC DSL.

13|3|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/descope/skills --skill descope-fga-schema
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: descope-fga-schema
Source: https://github.com/descope/skills/tree/main/skills/descope-fga-schema
Command: npx skills add https://github.com/descope/skills --skill descope-fga-schema

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Author, edit, or apply a Descope FGA schema using the ReBAC/ABAC DSL. Use this skill whenever the user asks to create a new FGA schema, modify an existing one, add types/relations/permissions/conditions, review an authorization model, or apply schema changes to a Descope project. Trigger even if the user says things like set up authorization, define roles and permissions, add team-based access, make this endpoint check FGA, or update my authz model — these almost always mean an FGA schema change.

Core Features & Use Cases

  • Draft FGA DSL schemas for authorization models using the ReBAC/ABAC DSL
  • Validate changes via the Descope MCP DryRunSchema and GetFGASchema workflow
  • Apply approved FGA schema changes to Descope projects

Quick Start

Draft and validate an FGA schema, review potential data deletes, then confirm to apply.

Frequently Asked Questions about descope-fga-schema

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I define a Descope FGA schema for role-based and attribute-based access control?

You create an FGA authorization model by drafting a schema with the ReBAC/ABAC DSL, defining types, relations, permissions, and conditions to structure your access control rules safely.

What is the safest workflow to apply FGA schema changes to a Descope project?

The safe workflow uses DryRunSchema and GetFGASchema validation checks before applying changes, letting you review potential data deletes and confirm updates to prevent irreversible errors.

Can I update an existing authorization model with new relations and permissions in Descope?

Yes, you can modify existing FGA schemas by adding or updating types, relations, permissions, and conditions, then validating the changes through the Descope MCP before applying them.

Does the Descope FGA schema DSL support relationship-based and attribute-based conditions?

Yes, the FGA DSL supports ReBAC and ABAC models, allowing you to define relationship-based access and attribute-based conditions within your authorization schema.

Why should I run a dry run before applying my FGA schema updates?

Running a dry run validates schema changes and identifies potential data deletes before application, ensuring your authorization model updates are safe and prevent unintended data loss.