Hello,

I just figured out how to do this. 
My understanding is that Mayan EMDS does not support assigning document 
types to different user groups from the web interface as part of ACL.

I was looking through the ACL 3 tier system, and figured out that all 
default ACL entries on the Setup was creating entries for the AccessEntry 
model.

So, I went ahead to create my custom app under 3rd_party_apps with a model 
which holds information on which group should be assigned to which all 
document types and with what permissions.
So having done that, I wrote MySQL triggers which would on a document 
"insert", add new acl entries to the AccessEntry model based on my own ACL. 
And it works just great! 
I don't use the default ACL setup.

So now when a user uploads a new document of a particular document type, 
all users in that group get access to it, but not users of other groups.

Thank You. 



On Tuesday, September 24, 2013 1:06:42 PM UTC+5:30, ranjith pillay wrote:
>
> Hello,
>
>
> https://mayan.readthedocs.org/en/latest/topics/permissions.html#tier-access-control
>
> In the 3 tier ACL part, it talks about giving specific payroll instance 
> access to a user.
>
> I have 2 user groups: Grp1 and Grp2
> Grp1 needs access to instances of doc type doc1, doc2
> Grp2 needs access to instances of doc type doc3, doc4
>
> Documentation says this is possible, but I could not figure it out.
> Any pointers would be greatly appreciated.
>
> Regards,
> Ranjith
>  

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to