Member Junction
    Preparing search index...

    Interface ActionFilterContext

    Execution context handed to an Action Filter's Code when the engine evaluates it inline (i.e. when no BaseActionFilter subclass is registered for the filter). The code runs with this object bound as ActionFilterContext and signals its verdict either by returning a boolean or by assigning ActionFilterContext.result.

    interface ActionFilterContext {
        filter: MJActionFilterEntity;
        params: RunActionParams;
        result: boolean;
    }
    Index

    Properties

    Properties

    The filter row being evaluated.

    The full parameters of the action run being gated, including Action, Params, and ContextUser.

    result: boolean

    Alternative verdict channel: filter code may assign true (allow) / false (prevent) here instead of returning.