Skip to main content

hasStaticPermissionCheck

@webda/core


Function: hasStaticPermissionCheck()

hasStaticPermissionCheck(model): boolean

Defined in: packages/core/src/models/permissions.ts:95

Whether a model class defines a static canAct of its own (not the base one)

Parameters​

model​

any

the model class

Returns​

boolean

true when the static form is overridden