Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReducingPolicy

Hierarchy

Index

Constructors

constructor

Properties

params

params: any

policies

policies: Policy[]

Static type_name

type_name: string

Methods

Protected Abstract _getRestrictingQuery

check

checkAllPolicies

Abstract checkerFunction

getRestrictingQuery

isItemSensitive

  • isItemSensitive(): Promise<boolean>

Static allow

  • allow(reason: string): { allowed: boolean; reason: string }
  • Parameters

    • reason: string

    Returns { allowed: boolean; reason: string }

    • allowed: boolean
    • reason: string

Static deny

  • deny(reason: string): { allowed: boolean; reason: string }
  • Parameters

    • reason: string

    Returns { allowed: boolean; reason: string }

    • allowed: boolean
    • reason: string

Static fromDefinition

Generated using TypeDoc