08-10-2018 12:30 PM
Here is the requirement.
We have an application with its own set of (native) users, etc.
We have Alfresco 5.1.0.
Our application interacts with Alfresco for its document maintenance. For all the document operations (index, delete, edit, etc.), we connect with one Alfresco user.
We recently are leveraging the Alfresco node/document comments feature. We are going to allow the application users to add and delete comments. Remember these users are not Alfresco users. These are the users in this application.
Now, we wanted to record the comments against the user who does the comment, and also to view the user along with the comments in our application.
I am looking for an elegant way to deal with this situation.
One way I could think of is to manually replicate all the users of this application in Alfresco as well.
Other way could be to dynamically create the user (in Alfresco from this application) when needed. These users could be simple users who have access to at least creating comments of nodes/documents under a root folder.
Is this possible? Could you please guide me?
As of now, this application interacts with Alfresco repository using Apache CMIS (for document management) and through Rest API (to access the comments through the existing webscripts).
Thx.
08-10-2018 02:55 PM
Hello,
There is no CMIS api which can be used to create users or groups.
Below is the url on the RESTful API for groups and users:
https://docs.alfresco.com/5.1/pra/1/concepts/pra-rest-api-explorer.html
Check the apis avaliable in the url below Check for groups and people)
https://api-explorer.alfresco.com/api-explorer/#/
Explore our Alfresco products with the links below. Use labels to filter content by product module.