The group or role to which this item is visible.

interface Visibility {
    identifier?: null | string;
    type?: "role" | "group";
    value?: string;
}

Hierarchy

  • Record<string, unknown>
    • Visibility

Properties

identifier?: null | string

The ID of the group or the name of the role that visibility of this item is restricted to.

type?: "role" | "group"

Whether visibility of this item is restricted to a group or role.

value?: string

The name of the group or role that visibility of this item is restricted to. Please note that the name of a group is mutable, to reliably identify a group use identifier.