Interface ResourceReplace

Export

ResourceReplace

Hierarchy

  • ResourceReplace

Properties

actions: {
    [key: string]: ActionBlockEditable;
}

A actions definition block, typically contained within a resource type definition block. The actions represents the ways you can interact with a protected resource.

Type declaration

Memberof

ResourceReplace

attributes?: {
    [key: string]: AttributeBlockEditable;
}

Attributes that each resource of this type defines, and can be used in your ABAC policies.

Type declaration

Memberof

ResourceReplace

description?: string

An optional longer description of what this resource respresents in your system

Memberof

ResourceReplace

name: string

The name of the resource

Memberof

ResourceReplace

relations?: object

Relations to other resources. The key is the relation key, and the value is the related resource.

Memberof

ResourceReplace

roles?: object

Roles defined on this resource. The key is the role name, and the value contains the role properties such as granted permissions, base roles, etc.

Memberof

ResourceReplace

urn?: string

The URN (Uniform Resource Name) of the resource

Memberof

ResourceReplace

Generated using TypeDoc