[
        {
            "actionKey": "SAVE_GOODIES",
            "label": "Save Goodies",
            "type": "primary",
            "icon": "save",
            "apiKey": "SAVE_GOODIES",
            "permissions": [{"roles": ["ROLE_VIEWER"], "condition": {"operator": "AND", "conditions": [
                {"field": "hasGoodies",          "operator": "EQUALS", "value": true},
                {"field": "goodiesCutoffPassed", "operator": "EQUALS", "value": false},
                {"operator": "OR", "conditions": [
                    {"field": "requiresApproval", "operator": "EQUALS", "value": false},
                    {"field": "approvalStatus",   "operator": "EQUALS", "value": "approved"}
                ]}
            ]}}],
            "onSuccess": [{
                "roles": ["ROLE_VIEWER"],
                "showToast": true,
                "toast": {"message": "Goodies preferences saved!", "type": "success"},
                "showSuccessScreen": true,
                "successScreen": {
                    "title": "Goodies Saved!",
                    "message": "Your goodies preferences have been saved!",
                    "icon": "check_circle",
                    "actions": [{"actionKey": "HOME", "label": "Home", "type": "primary", "icon": "home", "apiKey": null, "condition": null}]
                }
            }]
        }
    ]