VDL Plugin SDK

PolicyRootName

Import from @varavel/vdl-plugin-sdk/utils/policy.

type PolicyRootName = "principal" | "resource" | "context";

Root available inside a policy expression.

Only roots declared by the policy type may be used.