This question has been flagged
1764 Views

I just want to know how to configure DMS/Knowledge module, I cant find any good resources to read about this module. I want to restrict other users and not member of the groups not to modify unowned directory but they can still modify. I used the access right USER in Knowledge  is it the rule or just my configuration doesn't work.

rule definition:

[ '|', ('user_id', '=', user.id), '&', ('group_ids','in',[g.id for g in user.groups_id]), ('user_id','=',False), '|','|', ('company_id','=',False), ('company_id','child_of',[user.company_id.id]),('company_id.child_ids','child_of',[user.company_id.id])]

Thanks

Avatar
Discard