跳至內容
選單
此問題已被標幟
2 回覆
3280 瀏覽次數

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)





頭像
捨棄
最佳答案

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.

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
3月 25
5910
0
7月 21
2478
2
2月 20
3327
1
11月 16
5583
0
2月 16
2937