Portable backend criteria. RQL and condition-tree JSON are preserved without rewriting.
Type definition
export interface PermissionProfileCondition {
original_condition: string;
condition_tree: JsonObject;
groups?: readonly GroupConfig[];
}