security-authorization

Enforce least-privilege authorization across APIs, UI actions, and background jobs.

7|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/KentoShimizu/sw-agent-skills --skill security-authorization
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-authorization
Source: https://github.com/KentoShimizu/sw-agent-skills/tree/main/skills/security-authorization
Command: npx skills add https://github.com/KentoShimizu/sw-agent-skills --skill security-authorization

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

This skill provides a structured approach to design and enforce least-privilege authorization across APIs, UI actions, and background jobs, ensuring consistent access decisions and auditable policy truth.

Core Features & Use Cases

  • Canonical policy models (RBAC, ABAC, or hybrid) with enforcement mapping across services.
  • Enforcement plan and auditability: maps where decisions are made and how they are audited.
  • Default-deny posture with break-glass controls and testing workflows across cross-service scenarios.

Quick Start

Define your authorization model by enumerating subject-action-resource tuples and drafting an enforcement map before implementation.

Frequently Asked Questions about security-authorization

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

FAQPage Schema
How do I implement least-privilege authorization across multiple services?

Least-privilege authorization across APIs, UI actions, and background jobs is implemented by defining canonical policy models and mapping enforcement points. This ensures consistent access decisions and maintains an auditable policy truth across your services.

What is the best way to model RBAC and ABAC policies for resource-scoped access control?

Resource-scoped access control models RBAC, ABAC, or hybrid policies by enumerating subject-action-resource tuples. It maps these policies across services to enforce explicit separation-of-duty and consistent decision evaluation.

How does a default-deny posture work with break-glass controls?

A default-deny posture restricts access unless explicitly granted, while break-glass controls provide emergency override pathways. This authorization approach includes testing workflows to validate policy propagation and enforcement across cross-service scenarios.

How do I start designing an enforcement map for access control?

Design an access control enforcement map by drafting where policy decisions are made and how they are audited. You start by enumerating subject-action-resource tuples to define the canonical policy evaluation order before implementation.

Can I use this approach for separation-of-duty enforcement in background jobs?

Yes, separation-of-duty enforcement applies explicitly to background jobs alongside APIs and UI actions. It defines a canonical policy evaluation order and test plans to ensure least-privilege access decisions are enforced consistently.

When should I not use a hybrid RBAC and ABAC policy model?

Avoid hybrid RBAC and ABAC policy models if your system cannot support canonical policy evaluation order and auditability requirements. Complex separation-of-duty enforcement across multiple services requires robust testing workflows to prevent policy propagation failures.