Skip to content
Back to skills

Role Permission Validation

ASecurity

Build AgentWorks browser validation for role-based page, action, and data permissions. Use when an application has multiple roles, tenancy boundaries, or restricted operations.

  • 13 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 20, 2026
ai-agentsgorailssecurity

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 20, 2026

npx -y skills add manishiitg/coding-agent-loop --skill role-permission-validation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Role Permission Validation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Role Permission Validation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/manishiitg-role-permission-validation/badge)](https://www.skillsdirectory.com/skills/manishiitg-role-permission-validation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: role-permission-validation
description: Build AgentWorks browser validation for role-based page, action, and data permissions. Use when an application has multiple roles, tenancy boundaries, or restricted operations.
---

# Role and Permission Validation

## Outcome

Create a repeatable actor-by-resource-by-action permission matrix that verifies allowed behavior, denied behavior, direct navigation, and data isolation with durable evidence.

## When to use

Use after browser and authentication setup when customers have multiple roles, workspaces, tenants, ownership rules, or privileged operations. Skip dimensions the application does not support.

## Discovery and user direction

Inspect the current workflow, goals, metrics, configuration, capabilities, stores, reports, and triggers before proposing changes. Summarize reusable design and gaps, then ask focused questions for unresolved customer choices such as scope, success, approvals, thresholds, ownership, and budgets. Record the answers as customer direction. Installation alone does not approve workflow changes or execution. Default to one small-team workflow; split only for incompatible access or lifecycle boundaries.

## Required inputs

Resolve authorized actors, role definitions, resource ownership states, allowed and denied actions, tenant boundaries, direct-URL expectations, safe test data, cleanup, and the approved source of permission truth.

## Plan and AgentWorks tools

Use scripted steps for the stable matrix runner and deterministic completeness checks. Use message sequences to investigate mismatches without redefining policy. Partition credentials and fixtures when roles require different security contexts; branch only when classifications lead to different actions.

## Knowledge and persistence

Keep actor secret references out of artifacts. Store verified non-secret role behavior and route constraints in application KB notes, canonical cases in test code, matrix results in DB tables, and attempt evidence under durable assets.

## Validation and reporting

Require a result for every expected matrix cell. Verify both UI absence/disablement and server-observable denial where applicable, including direct navigation and cross-tenant data isolation. The dashboard shows the role/action/resource matrix, expected versus observed policy, environment/build, evidence drill-down, gaps, and history.

## Guardrails

Do not infer permission policy from the current UI, use production identities without authorization, broaden a role, or perform destructive privileged actions without isolated fixtures. A hidden control alone does not prove access is denied.

## Read details when needed

- [Workflow design and outcomes](../../references/workflow-design-and-outcomes.md): goals, metrics, and current-versus-separate workflow decisions.
- [AgentWorks plan and tools](../references/agentworks-plan-and-tools.md): step and platform-tool choices.
- [Evidence capture](../references/evidence-capture.md): durable, redacted attempt evidence.
- [Permission guide](references/permission-workflow.md): matrix design, execution, and acceptance cases.
- [Example matrix](examples/permission-matrix.json): fictional coverage shape.
- [Catalog metadata](playbook.json): presentation and optional recommendations.

## Completion contract

Return installed playbook and matrix revisions, customer overrides, expected and executed cell counts, findings, actual trial result, KB/test/evidence/report locations, capability resolution, and unresolved policy questions.

Files in this skill

  • SKILL.md3.5 KB
  • examples/permission-matrix.json978 B
  • playbook.json3.5 KB
  • references/permission-workflow.md2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.