Function getPermissionVariablesFromName

Gets the permission variables from a permission name. Variables include the flags, question, and validation function. Cast functions are directly used on the object itself.

  • Parameters

    Returns {
        flags: UsedFlags;
        question: string;
        validateFunction: any;
        validatePermissionUpdateFunction: any;
    }

    • flags: UsedFlags
    • question: string
    • validateFunction: any
    • validatePermissionUpdateFunction: any