Hi,
I have upgraded Umbraco and uSync.Complete to version 13, the UserGroups are no longer being imported. I checked on the uSync settings and I saw that UserGroupHandler is among the disabled handlers.
I then checked the documentation https://docs.jumoo.co.uk/usync/usync/reference/config/ to see how I can reenable it. I ended up adding the Sets like below:
"Sets": {
"Default": {
"Handlers": {
"UserGroupHandler": {
"Settings": {
"Enabled": "true",
"Actions": "All",
"FailOnMissingParent": "false",
"Group": "Settings"
}
}
},
"DisabledHandlers": [
"PublishedContentHandler",
"MediaFileHandler",
"MemberHandler",
"MemberGroupHandler",
"PublicAccessHandler",
"PartialFileHandler",
"PartialMacroFileHandler",
"ScriptFileHandler",
"StyleSheetHandler"
]
}
},
This resulted in the config moving to the end of the list for blocked handlers not removing it. I rechecked the config to see if my changes took effect and I could see that it has but it looks like uSync is disabling it irrespective.
{
"uSync": {
"Settings": {
"RootFolder": "uSync/v9/",
"Folders": [
"uSync/Root/",
"uSync/v9/"
],
"IsRootSite": false,
"LockRoot": true,
"LockRootTypes": [],
"DefaultSet": "Default",
"ImportAtStartup": "All",
"ExportAtStartup": "None",
"ExportOnSave": "All",
"UiEnabledGroups": "All",
"ReportDebug": false,
"AddOnPing": true,
"RebuildCacheOnCompletion": false,
"FailOnMissingParent": false,
"FailOnDuplicates": false,
"CacheFolderKeys": true,
"ShowVersionCheckWarning": true,
"CustomMappings": {},
"SignalRRoot": "",
"EnableHistory": true,
"HistoryFolder": "",
"DefaultExtension": "config",
"ImportOnFirstBoot": false,
"FirstBootGroup": "All",
"DisableDashboard": false,
"SummaryDashboard": false,
"SummaryLimit": 1000,
"HideAddOns": "licence",
"DisableNotificationSuppression": false,
"BackgroundNotifications": false
},
"Sets": {
"Default": {
"Enabled": true,
"HandlerGroups": [],
"DisabledHandlers": [
"PublishedContentHandler",
"MediaFileHandler",
"MemberHandler",
"MemberGroupHandler",
"PublicAccessHandler",
"PartialFileHandler",
"PartialMacroFileHandler",
"ScriptFileHandler",
"StyleSheetHandler",
"UserHandler",
"UserGroupHandler"
],
"HandlerDefaults": {
"Enabled": true,
"Actions": [],
"UseFlatStructure": true,
"GuidNames": false,
"FailOnMissingParent": false,
"Group": "",
"CreateClean": false,
"Settings": {}
},
"Handlers": {
"UserGroupHandler": {
"Enabled": true,
"Actions": [],
"UseFlatStructure": true,
"GuidNames": false,
"FailOnMissingParent": false,
"Group": "",
"CreateClean": false,
"Settings": {
"Actions": "All",
"Enabled": "true",
"FailOnMissingParent": "false",
"Group": "Settings"
}
}
},
"IsSelectable": false
}
}
}
If anyone could please assist me with getting these to work. I have custom user groups that we use to manage authorization on the back office and the users can’t access the site at the moment.
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/114337-usergrouphandler-disabled-on-usynccomplete-v13