- 4 minutes to read

AllowRepair - System Parameter

AllowRepair is the master switch for the Repair and Resubmit feature in the Web Client: users edit the payload of a logged message (Log Event) in a Log View and send it again. Set to false, it removes Repair from Nodinite for everyone, administrators included, whatever their Role permissions on the Log View say; plain Resend stays. Repair builds on Resend, so it also needs AllowResubmit set to true. An administrator can bring the feature back by setting it to true again.

A refused order in the Contoso Order desk repairs Log View with Resend offered, then AllowRepair opened from the System Parameters list, set to false and saved, then the same order where Resend stays but View details has no Repair and Resubmit, and the Edit Log View Assign Roles dialog with only the Repair permit locked and marked Off by AllowRepair, animated walkthrough (7.12)
Animated walkthrough: with AllowRepair set to false, Resend stays, Repair and Resubmit is gone, and Edit Log View shows only the Repair permit locked, Off by AllowRepair.

At a Glance

Property Value
Key AllowRepair
Data type boolean
Default true (Repair allowed)
Read by Web API and Web Client
Takes effect Within about 30 seconds (the parameter cache plus each user's Log View permission cache); no restart needed
Status ✅ Active
Since Nodinite 3

How It Works

The two System Parameters override the permissions. A user can Repair a Log Event only when all four conditions hold. The first two are global System Parameters; the last two are Role permissions on the Log View.

graph TD A{"fa:fa-gear AllowResubmit = true?"} --> |No| X["fa:fa-circle-xmark Repair disabled"] A --> |Yes| B{"fa:fa-gear AllowRepair = true?"} B --> |No| X B --> |Yes| C{"fa:fa-user-shield Role has Allow Resend?"} C --> |No| X C --> |Yes| D{"fa:fa-user-shield Role has Allow Repair?"} D --> |No| X D --> |Yes| OK["fa:fa-circle-check Repair enabled"] style X fill:#c33d34,color:#fff style OK fill:#93d16d,color:#000

The checks for Repair: red means Repair is disabled, green means it is enabled.

# Setting Where
1 AllowResubmit = true System Parameter, the master switch for Resend and Repair
2 AllowRepair = true This System Parameter
3 Allow Resend permission The Role on the Log View, see Resend
4 Allow Repair permission The Role on the Log View, see Repair

When you repair a message, you pick a transport such as File, MSMQ, ActiveMQ, or Webhook. ResendWebhookSettings configures the Webhook targets, and ResubmitContextValuesForActiveMQ sets which context properties travel with messages resubmitted to ActiveMQ. The repair steps themselves are described in What is a Log View?.

What Users See When It Is false

The switch applies to everyone, administrators included, over every Role and Log View permission. Only the value false turns the feature off.

  • Web Client: Repair and Resubmit is gone from View details and the other places Repair is offered. Resend stays, as the permissions allow.
  • Web API: a repair call answers 403 with Repair is turned off for everyone by the System Parameter 'AllowRepair'.
  • Message body: an Allow Repair permit no longer gives access to the message body; reading it needs the View Body permission, see Permission Set for Log Views.
  • Edit Log View: on the Roles card, and in the Selected tab of the Assign Roles dialog, only the Repair permit is locked and marked Off by AllowRepair, with a link to this parameter. Resend can still be set. See Roles on the Log View General tab.
  • Role editor: the Repair permit can still be set on a Role, but it has no effect while the switch is false.

The stored permits are kept. Set AllowRepair back to true and the Roles decide again.

Choosing a Value

Nodinite ships with AllowRepair set to true, so a false value was set on purpose.

  • Keep true and grant Allow Repair only to the Roles that should edit payloads, see Add or Manage Log View.
  • Set false when your organization doesn't allow edited messages to be sent from Nodinite, for example by company policy. Plain Resend stays available.
  • Found it set to false? Treat it as a policy decision. Find out who owns that policy, and why it was set, before you turn the feature back on.

Important

Before you update to 7.12, check the value. From 7.12 the switch applies: an installation that has AllowRepair set to false loses Repair after the update, in the Web Client and through the Web API (scripts included). A false may be a forgotten setting rather than a policy. Ask the policy owner, and set true before the update if Repair should stay.

Next Steps