You are expecting the correct behavior. I'll add a test to the document 
type API to see where the issue lies. Thanks!

On Sunday, July 16, 2017 at 6:46:32 PM UTC-4, Ben wrote:
>
> I have created a user ( here A ) that has access only to a specific 
> document type and no system wide permissions:
> User A is in group A that is member of role A
> An ACL of  document type A gives role A full access to document type A.
> This is working as long as I'm using the web interface
> New document >> Select document type A >> ...
>
> If I'm using the API call ( as user A ):
> api.documents.document_types.get()  
> It returns 0
>
> Only if i give role A system wide permissions to view document types, I 
> get a result. But then i get all document types that exist. But this is not 
> what I want. It should give me only the one user A has permissions for.
> Any ideas?
>
> Ben
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mayan-edms+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to