Guidewire Enterprise RBAC
Overview
Guidewire InsuranceSuite (PolicyCenter, ClaimCenter, BillingCenter) enforces role-based access at both the UI and Cloud API layers. Claims adjusters see only claims in their assigned regions. Underwriters access policy data scoped to their authority level. Admins manage user provisioning through Guidewire Cloud Console (GCC). Insurance regulations (NAIC, state DOI) require strict data classification tiers and audit trails on every policy and claim access. SAML assertions map AD groups to Guidewire roles for SSO.
Role Hierarchy
| Role |
Permissions |
Scope |
| System Admin |
User provisioning, role config, API token management via GCC |
All modules |
| Underwriter |
Create/bind policies, view risk data, approve endorsements |
Authority-level tier |
| Claims Adjuster |
View/update claims, upload documents, set reserves |
Assigned region/LOB |
| Agent/Broker |
Submit applications, view own policy status, limited billing |
Own book of business |
| Auditor |
Read-only access to all records, export compliance reports |
Organization-wide |
Permission Check
async function checkGuidewireAccess(userId: string, resource: string, action: 'read' | 'write'): Promise<boolean> {
const response = await fetch(`${GW_CLOUD_API}/admin/v1/users/${userId}/permissions`, {
headers: { Authorization: `Bearer ${GW_API_TOKEN}`, 'Content-Type': 'application/json' },
});
const perms = await response.json();
const grant = perms.data.find((p: any) => p.resource === resource);
if (!grant) return false;
return action === 'read' ? grant.canRead : grant.canWrite;
}
Role Assignment
async function assignGuidewireRole(userId: string, role: string, region?: string): Promise<void> {
await fetch(`${GW_CLOUD_API}/admin/v1/users/${userId}/roles`, {
method: 'POST',
headers: { Authorization: `Bearer ${GW_API_TOKEN}`, 'Content-Type': 'application/json' },
body: JSON.stringify({ roleCode: role, regionFilter: region ?? 'ALL', effectiveDate: new Date().toISOString() }),
});
}
async function revokeRole(userId: string, role: string): Promise<void> {
await fetch(`${GW_CLOUD_API}/admin/v1/users/${userId}/roles/${role}`, {
method: 'DELETE',
headers: { Authorization: `Bearer ${GW_API_TOKEN}` },
});
}
Audit Logging
interface GuidewireAuditEntry {
timestamp: string; userId: string; role: string;
action: 'policy_view' | 'claim_update' | 'reserve_set' | 'document_upload' | 'role_change';
resource: string; region: string; policyNumber?: string; result: 'allowed' | 'denied';
}
function logAccess(entry: GuidewireAuditEntry): void {
console.log(JSON.stringify({ ...entry, environment: process.env.GW_ENVIRONMENT }));
}
RBAC Checklist
Error Handling
| Issue |
Cause |
Fix |
403 on Cloud API endpoint |
API role missing required resource permission |
Add resource grant in GCC Identity & Access |
| Adjuster sees claims outside region |
Region filter not set on role assignment |
Update role with correct regionFilter value |
| SAML login fails |
Group claim not mapped in GCC SSO config |
Add AD group to SAML attribute mapping |
| Policy data not visible |
Data classification tier too restrictive |
Review tier assignment, escalate to admin |
| Stale permissions after transfer |
Role not updated when user changed teams |
Trigger AD sync or manually reassign in GCC |
Resources
Next Steps
See guidewire-security-basics.
1---
2name: guidewire-enterprise-rbac
3description: |
4 Implement Guidewire RBAC: API roles, user permissions, and security policies.
5 Trigger: "guidewire enterprise rbac", "enterprise-rbac".
6allowed-tools: Read, Write, Edit, Bash(curl:*), Bash(gradle:*), Grep
7version: 1.0.0
8license: MIT
9author: Jeremy Longshore <jeremy@intentsolutions.io>
10tags: [saas, insurance, guidewire]
11compatible-with: claude-code
12metadata:
13 source: https://skillmd.com/skills/aibot88/guidewire-enterprise-rbac
14---
15
16# Guidewire Enterprise RBAC
17
18## Overview
19
20Guidewire InsuranceSuite (PolicyCenter, ClaimCenter, BillingCenter) enforces role-based access at both the UI and Cloud API layers. Claims adjusters see only claims in their assigned regions. Underwriters access policy data scoped to their authority level. Admins manage user provisioning through Guidewire Cloud Console (GCC). Insurance regulations (NAIC, state DOI) require strict data classification tiers and audit trails on every policy and claim access. SAML assertions map AD groups to Guidewire roles for SSO.
21
22## Role Hierarchy
23
24| Role | Permissions | Scope |
25|------|------------|-------|
26| System Admin | User provisioning, role config, API token management via GCC | All modules |
27| Underwriter | Create/bind policies, view risk data, approve endorsements | Authority-level tier |
28| Claims Adjuster | View/update claims, upload documents, set reserves | Assigned region/LOB |
29| Agent/Broker | Submit applications, view own policy status, limited billing | Own book of business |
30| Auditor | Read-only access to all records, export compliance reports | Organization-wide |
31
32## Permission Check
33
34```typescript
35async function checkGuidewireAccess(userId: string, resource: string, action: 'read' | 'write'): Promise<boolean> {
36 const response = await fetch(`${GW_CLOUD_API}/admin/v1/users/${userId}/permissions`, {
37 headers: { Authorization: `Bearer ${GW_API_TOKEN}`, 'Content-Type': 'application/json' },
38 });
39 const perms = await response.json();
40 const grant = perms.data.find((p: any) => p.resource === resource);
41 if (!grant) return false;
42 return action === 'read' ? grant.canRead : grant.canWrite;
43}
44```
45
46## Role Assignment
47
48```typescript
49async function assignGuidewireRole(userId: string, role: string, region?: string): Promise<void> {
50 await fetch(`${GW_CLOUD_API}/admin/v1/users/${userId}/roles`, {
51 method: 'POST',
52 headers: { Authorization: `Bearer ${GW_API_TOKEN}`, 'Content-Type': 'application/json' },
53 body: JSON.stringify({ roleCode: role, regionFilter: region ?? 'ALL', effectiveDate: new Date().toISOString() }),
54 });
55}
56
57async function revokeRole(userId: string, role: string): Promise<void> {
58 await fetch(`${GW_CLOUD_API}/admin/v1/users/${userId}/roles/${role}`, {
59 method: 'DELETE',
60 headers: { Authorization: `Bearer ${GW_API_TOKEN}` },
61 });
62}
63```
64
65## Audit Logging
66
67```typescript
68interface GuidewireAuditEntry {
69 timestamp: string; userId: string; role: string;
70 action: 'policy_view' | 'claim_update' | 'reserve_set' | 'document_upload' | 'role_change';
71 resource: string; region: string; policyNumber?: string; result: 'allowed' | 'denied';
72}
73
74function logAccess(entry: GuidewireAuditEntry): void {
75 console.log(JSON.stringify({ ...entry, environment: process.env.GW_ENVIRONMENT }));
76}
77```
78
79## RBAC Checklist
80
81- [ ] SAML assertions map AD groups to Guidewire role codes
82- [ ] Claims adjusters scoped to assigned regions/lines of business
83- [ ] Underwriter authority levels enforce binding limits
84- [ ] API tokens scoped per module (PC, CC, BC), never cross-module
85- [ ] Data classification tiers applied to PII and PHI fields
86- [ ] Auditor role is strictly read-only with no write endpoints
87- [ ] Role changes logged with effective date and approver
88- [ ] Quarterly access review for regulatory compliance
89
90## Error Handling
91
92| Issue | Cause | Fix |
93|-------|-------|-----|
94| `403` on Cloud API endpoint | API role missing required resource permission | Add resource grant in GCC Identity & Access |
95| Adjuster sees claims outside region | Region filter not set on role assignment | Update role with correct `regionFilter` value |
96| SAML login fails | Group claim not mapped in GCC SSO config | Add AD group to SAML attribute mapping |
97| Policy data not visible | Data classification tier too restrictive | Review tier assignment, escalate to admin |
98| Stale permissions after transfer | Role not updated when user changed teams | Trigger AD sync or manually reassign in GCC |
99
100## Resources
101
102- [Guidewire Developer Portal](https://developer.guidewire.com/)
103- [Cloud API Reference](https://docs.guidewire.com/cloud/pc/202503/apiref/)
104- [Guidewire Cloud Console](https://gcc.guidewire.com)
105
106## Next Steps
107
108See `guidewire-security-basics`.