Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sanele Ngidi 15 posts 95 karma points
    Jun 27, 2024 @ 09:29
    Sanele Ngidi
    0

    UserGroupHandler Disabled on uSync.Complete v13

    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. enter image description here

    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.

  • Kevin Jump 2348 posts 14896 karma points MVP 8x c-trib
    Jun 27, 2024 @ 16:14
    Kevin Jump
    100

    Hi,

    In v13 the user stuff is disabled by default but you can turn it back on, with a config setting:

    https://docs.jumoo.co.uk/usync/complete/guides/People_Edition/people#dashboard

  • Sanele Ngidi 15 posts 95 karma points
    Jun 27, 2024 @ 17:43
    Sanele Ngidi
    0

    Thank you so much Kevin, it did work

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies