Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SecurityScriptBuilder

Hierarchy

  • SecurityScriptBuilder

Index

Methods

build

  • build(): string
  • Returns string

    the script

deisolatePath

  • Parameters

    • path: string

    Returns SecurityScriptBuilder

    this builder, modified to re-instate the inheritance of path permission assignments from parents of the given path

isolatePath

  • Parameters

    • path: string

    Returns SecurityScriptBuilder

    this builder, modified to isolate the given path in the path hierarchy

removePathPermissions

  • Parameters

    • role: string
    • path: string

    Returns SecurityScriptBuilder

    the builder to allow chaining

setDefaultPathPermissions

  • Parameters

    • role: string
    • Optional permissions: string[]

    Returns SecurityScriptBuilder

    the builder to allow chaining

setGlobalPermissions

  • Parameters

    • role: string
    • Optional permissions: string[]

    Returns SecurityScriptBuilder

    the builder to allow chaining

setPathPermissions

  • Parameters

    • role: string
    • path: string
    • Optional permissions: string[]

    Returns SecurityScriptBuilder

    the builder to allow chaining

setRoleIncludes

  • Parameters

    • role: string
    • roles: string[]

    Returns SecurityScriptBuilder

    the builder to allow chaining

setRoleLockedByPrincipal

  • Parameters

    • role: string
    • lockingPrincipal: string

    Returns SecurityScriptBuilder

    this builder, modified to lock a role to a single principal that can edit it

setRolesForAnonymousSessions

  • Parameters

    • Optional roles: string[]

    Returns SecurityScriptBuilder

    the builder to allow chaining

setRolesForNamedSessions

  • Parameters

    • Optional roles: string[]

    Returns SecurityScriptBuilder

    the builder to allow chaining