Skip to content

js-bao-wss-client


js-bao-wss-client / RuleSetDebugResult

Interface: RuleSetDebugResult ​

Result of ruleSets.debug(): the access decision plus the resolved rule set, user, memberships, evaluation context, and CEL trace.

Properties ​

allowed ​

allowed: boolean


context? ​

optional context?: Record<string, unknown>


expression? ​

optional expression?: string


memberships? ​

optional memberships?: object[]

groupId ​

groupId: string

groupType ​

groupType: string


reason? ​

optional reason?: string


ruleSetId? ​

optional ruleSetId?: string


ruleSetName? ​

optional ruleSetName?: string


trace? ​

optional trace?: TraceEntry[]


user? ​

optional user?: object

appRole ​

appRole: string

userId ​

userId: string

Documentation validated against js-bao-wss-client 3.4.0 · js-bao 0.11.0 · primitive-admin 1.0.62 · primitive-app 3.1.0 — 2026-09-30