Q195: a change reloads only what is not already shown, and the snapshot stops carrying records the window never reads
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2f79e4261f
commit
56eac39b1b
31 files changed
+146
-214
No files matched your search
@@ -14,21 +14,3 @@ export type RoleKey = ValueOf<typeof ROLE_KEY>;
|
||||
export type AccessDecision = ValueOf<typeof ACCESS_DECISION>;
|
||||
export type PrincipalType = "employee" | "agent" | "service_identity";
|
||||
|
||||
export interface EmployeeIdentityRecord {
|
||||
id: string; orgId: string; employeeId: string; source: IdentitySource; externalSubject: string;
|
||||
email: string | null; active: boolean; createdAt: string; lastSeenAt: string | null;
|
||||
}
|
||||
|
||||
export interface ServiceIdentityRecord {
|
||||
id: string; orgId: string; agentId: string; name: string; scopeJson: string; createdAt: string;
|
||||
}
|
||||
|
||||
export interface RoleGrantRecord {
|
||||
id: string; orgId: string; principalType: PrincipalType; principalId: string; roleKey: RoleKey;
|
||||
scopeType: string; scopeId: string; grantedByEmployeeId: string | null; createdAt: string;
|
||||
}
|
||||
|
||||
export interface AccessDecisionRecord {
|
||||
id: string; orgId: string; principalType: PrincipalType; principalId: string; action: string;
|
||||
resourceType: string; resourceId: string; decision: AccessDecision; reason: string; createdAt: string;
|
||||
}
|
||||
Reference in new issue
Block a user