AnsweredAssumed Answered

Returning permissions on a documentt

Question asked by paulf on Feb 20, 2015
Latest reply on Feb 20, 2015 by mrogers
Hi everyone,

My apologies if this has been repeated elsewhere. I have tried searching but couldn't find anything specific.

I am desperately hoping that someone may be able to shed some light on a requirement my company has given me with regard integrating Alfresco with our proprietary search engine.

The bottom line is that I need a way (API, CMIS and so on) to be able to supply an Alfresco document ID and to get back a list of permissions on that document. At the minute I am unsure what form these permissions will take. I am thinking maybe a listing of groups (with READ level and above) that are assigned to a document in Alfresco.

These permissions will then be stored against that document in our search engine.

When a user logs in, I will run an API or something to grab a list of groups that the currently-logged-in user is a member of, within alfresco. If one of these groups matches the a group name stored on a document, I will let the user see that document.

I really hope that makes sense.

I guess the first step is to ingest a document (done) and then run some sort of API that will take the doc ID and grab all the permissions on that document. Might someone be able to give me some pointers as to where to look?

Thanks so much for reading. I Really appreciate it.

Outcomes