Skip to content

BeechCMS


BeechCMS / @beechcms/core / requiresConfirmation

Function: requiresConfirmation() ​

requiresConfirmation(risk, environment): boolean

Whether an OAuth request of this risk must become an intent instead of running. destructive always; publish only in production; read / write never.

Parameters ​

risk ​

OperationRisk

environment ​

AgentEnvironment

Returns ​

boolean