cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco permission over CMIS

zigi
Champ on-the-rise
Champ on-the-rise

Hello, 

I am working on web application which provides documents to users. Documents are stored in Alfresco and all permissions are set in Alfresco (ACL). I would like to connect web application to Alfresco over CMIS. I can connect over CMIS

as "admin" and get specific user information like that:

SELECT * FROM cmSmiley Tongueerson

SELECT * FROM cmSmiley Tongueerson where cm:userName='testUser'

I can also get all information about documents:

SELECT * FROM cm:document

But is it possible filter documents with (for example read access) permission for specific user?

Thank for advice.

1 REPLY 1

jpotts
World-Class Innovator
World-Class Innovator

No, you cannot query objects by permissions.

You can ask an object for its ACL, but you cannot say, "Give me all documents where the ACL has this entry" or "...looks like this".