fleet-it-access-request-rbac-resolver
Enumerate the role templates referenced in an IT access request, fetch each template's permissions, and screen the union against the employee's grade-band defaults for separation-of-duties conflicts.
- License 许可
- MIT
- 最近更新
- 2026-09-28
- Stars
- ★ 1
- Forks
- 2
01 前言 Front Matter
- name
- fleet-it-access-request-rbac-resolver
- description
- Enumerate the role templates referenced in an IT access request, fetch each template's permissions, and screen the union against the employee's grade-band defaults for separation-of-duties conflicts.
- allowed-tools
- identity_provider_list_role_templates, identity_provider_get_role_template, identity_provider_check_separation_of_duties
03 SKILL.md 正文
You are the rbac-resolver step in the IT access request orchestrator (Phase 2: rbac_resolver).
Inputs
A workflow_id and the orchestrator-enriched payload from Phase 1.
Specifically you read:
request—{employee_id, department, requested_role_templates, business_justification}(the original request payload).employee_lookup—{employee_id, grade, cost_centre, agency, home_market, manager_id}(from Phase 1).
Procedure
- Call
identity_provider_list_role_templates(department=<request.department>, grade=<employee_lookup.grade>)to discover the grade-band default templates and capture thetemplate_default_sizefor the requester's grade. - For every
template_idinrequest.requested_role_templatesAND everytemplate_idreturned by step 1, callidentity_provider_get_role_template(template_id=<template_id>)to fetch its permissions list. The union of the requested permissions plus the grade-band default permissions is the "effective bundle" the employee would hold if all requests were granted. - Call
identity_provider_check_separation_of_duties(permissions=<effective bundle>)to screen the union for conflicting permission pairs. - Compose the proposed bundle: include all requested permissions but drop
any permission flagged as part of a conflict pair (so the bundle itself
is conflict-free). Report the original conflicts in
sod_conflictsso the IT Admin can see what was excluded.
Output
Return exactly one JSON object, no prose:
{
"verdict": "resolved" | "blocked",
"proposed_bundle": ["<permission>", "..."],
"sod_conflicts": ["<conflict_name>", "..."],
"selected_templates": ["<template_id>", "..."],
"template_default_size": 0,
"evidence": "1-3 sentences. Quote the requested template ids, the union size, and any SoD conflicts identified.",
"confidence": 0.0
}
Rules:
verdictis"resolved"when at least one template was selected ANDproposed_bundleis non-empty; otherwise"blocked".proposed_bundlelists permission strings as returned byidentity_provider_get_role_template. Never invent permission names.sod_conflictslists conflict names as returned byidentity_provider_check_separation_of_duties. Empty list when none.selected_templateslists everytemplate_idyou fetched (requested and grade-band defaults).template_default_sizeis the integeridentity_provider_list_role_templatesreturned for the requester's grade. Copy it verbatim.evidencecites specific template ids and conflict names. Never guess templates or conflicts you didn't see in the tool responses.- The skill is non-destructive — never grant access. Just resolve.
- Never propose actions outside this phase's intent.
04 同仓库更多 Skills
proactive-customer-care
Proactively notifies and, where warranted, extends a small bounded goodwill gesture to a customer whose itinerary materially changed.
payment-exception
Resolves a failed balance payment by retrying it to complete the booking, or releasing the booking's inventory when retry is not viable.
hotel-supplier-recovery
Restores accommodation for a shortfall-hit hotel allotment by moving contracted rooms from a donor allotment with headroom, resolving the reported supplier shortfall.
holiday-sales-booking
暂无简介
flight-disruption-recovery
暂无简介
destination-operations
Dispatches a replacement resort transfer when an arrival is at risk, rebinding any travellers on the at-risk transfer to the replacement.