Add identity access controls

This commit is contained in:
ZacharyZhang-NY committed 2026-05-23 17:58:42 -04:00
1 parent 276929b855
commit 1d7757c88b
21 files changed
+607 -8

No files matched your search

+21
View File
@@ -3,10 +3,13 @@ import type {
ComplianceExportType,
ComplianceSubjectType,
LegalHoldEntityType,
IdentitySource,
PrincipalType,
ProviderDataPolicy,
ProviderExecutionMode,
RetentionFreezeScopeType,
RiskLevel,
RoleKey,
SearchEntityType,
SocialPlatform,
TaskPriority,
@@ -86,6 +89,24 @@ export interface DecideApprovalInput {
decidedByEmployeeId: string;
}
export interface SyncEmployeeIdentityInput {
orgId: string;
employeeId: string;
source: IdentitySource;
externalSubject: string;
email: string | null;
}
export interface GrantRoleInput {
orgId: string;
principalType: PrincipalType;
principalId: string;
roleKey: RoleKey;
scopeType: "organization" | "workspace" | "project" | "department";
scopeId: string;
grantedByEmployeeId: string;
}
export interface SendMessageInput {
orgId: string;
spaceId: string;