permission-authorization

Community

Fine-grained access control via custom permissions.

Authorronnythedev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill provides a centralized, declarative approach to enforcing permissions in .NET applications, replacing scattered role checks with a consistent policy-based model.

Core Features & Use Cases

  • HasPermission attribute for endpoints
  • Dynamic policy provider that creates policies on the fly
  • Role-to-permission transformation via claims
  • Use case: restrict admin endpoints to specific permissions, map user roles to allowed actions

Quick Start

Configure services.AddPermissionAuthorization() and apply [HasPermission] attributes to protect endpoints. Ensure RoleToPermissionClaimsTransformation and the PermissionAuthorizationHandler are registered.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: permission-authorization
Download link: https://github.com/ronnythedev/dotnet-clean-architecture-skills/archive/main.zip#permission-authorization

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.