brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
rbacRole-Based Access Control and OIDC integration skill for advanced harness engineering.
Independent GitHub snapshot · Automated classification · Original documentation governs
name: rbac description: > Role-Based Access Control and OIDC integration skill for advanced harness engineering. version: "2.0.0" author: "j4flmao" license: "MIT" type: skill compatibility: claude-code: true cursor: true codex: true windsurf: true tags:
Comprehensive Role-Based Access Control with OIDC flow integration.
Triggers: Access requests Input Context Required: User identity, requested resource, action Output Artifact: Access decision Response Formats:
{
"allowed": true,
"reason": "Role has permission"
}
[Request] -> [Check Token] -> [Extract Roles] -> [Evaluate Policy] -> [Decision]
Client -> API Gateway -> RBAC Service -> Policy DB
|
v
OIDC Provider
Phase 1: Initialization
Phase 2: Token Validation
Phase 3: Role Extraction
Phase 4: Policy Evaluation
Phase 5: Audit Logging
Phase 6: Response
| Symptom | Primary Cause | Mitigation Action |
|---|---|---|
| Token rejected | Expired token | Refresh token |
| Role missing | Claim not mapped | Check mapping config |
| Policy failure | Condition not met | Review policy rules |
| High latency | DB slow | Add caching |
| Audit failed | Stream full | Increase capacity |
| Unknown error | Unhandled exception | Check logs |
Request -> Valid Token -> Role Admin -> Allow Action
Refer to auth skill.