Interface SecurableResourceWithPermissions

interface SecurableResourceWithPermissions {
    children: SecurableResource[];
    description: string;
    effectivePermissions?: string[];
    id: string;
    name: string;
    parentContainerPath?: string;
    parentId?: string;
    permissionMap: {
        [permission: string]: boolean;
    };
    resourceClass: string;
}

Hierarchy (view full)

Properties

children: SecurableResource[]

An array of child resource objects.

description: string

The description of the resource.

effectivePermissions?: string[]

An array of permission unique names the current user has on the resource. This will be present only if the includeEffectivePermissions property was set to true on the config object.

id: string

The unique id of the resource (String, typically a GUID).

name: string

The name of the resource suitable for showing to a user.

parentContainerPath?: string

The parent resource's container path (may be omitted if no parent).

parentId?: string

The parent resource's id (may be omitted if no parent).

permissionMap: {
    [permission: string]: boolean;
}

An object with one property per effectivePermission allowed the user.

resourceClass: string

The fully-qualified Java class name of the resource.