Saving changes to permissions in the sales order form errors 'Cannot insert duplicate key row ...SY_UserGroupPermissions...'
Problem
Setting permissions in the Utilities tab of sales orders and saving the changes errors with the issue
Solution
The problem is caused by the Sales Order Customer Panel being enabled.
To allow changes to sales order permissions to be saved, do he following
System Settings > Plugins > Plugin Maintenance
Load the Sales Order Customer Panel plugin and disable it
Save changes and log out
Log back in and set the permissions needed in the sales order form and save changed
Load the Sales Order Customer Panel plugin and enable it
Save change, log out and log back in again