Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RoleImpl

A security role

Hierarchy

  • RoleImpl

Implements

Index

Constructors

constructor

  • Create a new Role instance

    Parameters

    • name: string

      the name of the role

    • global: GlobalPermission[]

      the global permissions of the role

    • defaultPermissions: PathPermission[]

      the default path permissions of the role

    • path: {}

      the path permissions indexed by topic path

    • roles: string[]

      additional roles

    • Optional lockingPrincipal: undefined | string

    Returns RoleImpl

Properties

Readonly default

default: PathPermission[]

The list of default path permissions

Readonly global

The list of global permissions

Optional Readonly lockingPrincipal

lockingPrincipal: undefined | string

If the role is locked this will contain the name of the principal that can update the role.

since

6.4

Readonly name

name: string

The name of the role

Readonly roles

roles: string[]

Additional roles

Readonly topic

topic: {}

The map of paths to sets of Path permissions

Type declaration

Copyright © 2025 DiffusionData Ltd. All Rights Reserved.