Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
3289 Visualizzazioni

How to maintain single group with different users access permissions?  

For Example:

Group1 - user1 - R (enable) W (enable) C (enable) D (enable)
Group1 - user2 - R (enable) W (disable) C (enable) D (enable)
Group1 - user3 - R (enable) W (disable) C (enable) D (disable)
Group1 - user4 - R (enable) W (disable) C (disable) D (disable)





Avatar
Abbandona
Risposta migliore

Hi,

You can do that using "ir.rule"(Record rule).

Create 4 record rule with 4 different domain and the group should be same for 4 record rule.

Avatar
Abbandona
Risposta migliore

Hi, 

If it is possible better to handle this case using four different user groups, so that you can use the records rules as well as acl.


If you are not able to use different groups, override the create write and unlink method of the corresponding models and check the users and return or do the operations accordingly.


Thanks

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
mar 25
5919
0
lug 21
2485
2
feb 20
3327
1
nov 16
5588
0
feb 16
2941