Function tenantSecurityPolicy
- tenantSecurityPolicy<T, TenantIdKey>(args: {
rawOperations?: "warning" | "forbidden" | "allowed";
tenantKey: TenantIdKey;
}): DAOMiddleware<T>
-
Type Parameters
-
T extends DAOGenerics<any, any, any, any, any, any, any, any, any, any, any, any, any, AbstractEntityManager<string, string, any, any>, T>
-
TenantIdKey extends string | number | symbol
Parameters
-
args: {
rawOperations?: "warning" | "forbidden" | "allowed";
tenantKey: TenantIdKey;
}
-
Optional
rawOperations?: "warning" | "forbidden" | "allowed"
-
tenantKey: TenantIdKey