Function: RequiresElevation()
RequiresElevation(
lastStart?): (target,propertyKey?,descriptor?) =>void
Defined in: service-core/src/decorators/RouteDecorators.ts:358
Indicates that elevated user permissions is required to perform the action. Optionally, set a lastStart which is the number
of seconds that the user has most recently confirmed elevation. A negative value indicates until the end of the elevated
window. Default is -1.
Parameters
lastStart?
number = -1
Returns
(target, propertyKey?, descriptor?) => void