SerenityJS
    Preparing search index...

    Class PermissionGroup

    Implements

    Index

    Constructors

    Properties

    identifier: string

    The identifier of the permission group.

    permissions: Map<string, string[]> = ...

    The permissions within the group and their commands.

    Methods

    • Create a new permission within the group.

      Parameters

      • identifier: string

        The identifier of the permission.

      • commands: string[] = []

        The commands that the permission allows.

      Returns string[]

      The commands that the permission allows.