Overview
This article explains how to fix the issue where an M-Files user cannot successfully create an object related to Hubshare from M-Files, and get an error displayed in the comment of that object.
Here is how the error can look like in the comments of that newly created object:
“User” will always be the M-Files user that is trying to create that object (which could be a Hub, a Hubshare user or a Hubshare group…)
Solution
First, you will need to see which user is trying to create that object and gets that error whenever he tries to create a Hub or anything Hubshare related.
The error means that the Plugin has checked if the user had the rights to do this on Hubshare, and probably didn't find him in the internal users lists.
That user needs to have an account created in Hubshare, as an internal with the rights that are necessary to do what you expect him to be able to do. (Hub creator, administrator etc.)
You can verify this by going to Hubshare manually, log in as an administrator, open your settings and you will see the "Internal Users" tab, you can check if that person is here or create him if needed.
As soon as this is done and verified, the e-mail of that user will need to match the e-mail address field that is on the M-Files side, which can be done in the "Login Accounts" part.
To check this, you will need to access your vault through M-Files Admin and look for the "Login Accounts" line related to your vault.
When you are there, look for that particular user in the list and right click on him and look for "Properties".
This is where you will need to fill in the e-mail address field, it must match the one used in Hubshare so the M-Files Plugin for Hubshare can look up the rights and confirm if that user is allowed to manage objects that are Hubshare related.
