interface Group {
    effectivePermissions: string[];
    groups: Group[];
    id: number;
    isProjectGroup: boolean;
    isSystemGroup: boolean;
    name: string;
    permissions: number;
    role: string;
    roleLabel: string;
    roles: string[];
    type: string;
}

Properties

effectivePermissions: string[]

An array of effective permission unique names the group has.

groups: Group[]

Subgroups of this group.

id: number

The unique id of the group.

isProjectGroup: boolean

True if this group is defined at the project level.

isSystemGroup: boolean

True if this group is defined at the system level.

name: string

The name of the group.

permissions: number

Deprecated

The group's effective permissions as a bit mask.

role: string

Deprecated

The group's role value (e.g., 'ADMIN'). Use this property for programmatic checks.

roleLabel: string

Deprecated

A description of the group's permission role. This will correspond to the visible labels shown on the permissions page (e.g., 'Admin (all permissions)'.

roles: string[]

An array of role unique names that this group is playing in the container. This replaces the existing roleLabel, role and permissions properties. Groups may now play multiple roles in a container and each role grants the user a set of permissions. Use the getRoles() method to retrieve information about the roles, including which permissions are granted by each role.

type: string

The group's type ('g' for group, 'r' for role, 'm' for module-specific).

Generated using TypeDoc