跳至内容
菜单
此问题已终结
1 回复
5000 查看

Hi,

In my application i have created two groups (with no inheritance), i managed access rights to models, menus, and record rules ........ but now i'm facing an issue with VIEWS.

When creating view, there is "Access Rights" Tab which allow us to assign that view to specific group.

When i worked with it NOTHING Changed, Still every one can access to that view.

In my case, i want "Group A" see LIST VIEW only, and "Group B" see list,and form.

Is anyone faced this before ? or i have missed something ??

形象
丢弃
最佳答案

Hi,

In your case it seems that, you need a group of users to see List View only where as Other group user have to see Both the List View and Form. In this case, assigning groups for the Views wont work out. 

What you have to do is that, define two different menus and give separate action for both menus and specify the available views in the menu action. Then you can specify List view in one menu action and tree, form in the other action and link it with menus and hide the menu based on the groups. You can give groups="external_id_of_group" along with menu.


Thanks

形象
丢弃
编写者

Thanks for your response,

in which case, assigning groups to VIEW will work

相关帖文 回复 查看 活动
3
7月 25
6729
1
8月 25
2572
3
12月 24
1245
0
11月 24
1423
2
11月 24
6271