Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5047 Lượt xem

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 ??

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks for your response,

in which case, assigning groups to VIEW will work

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 7 25
6767
1
thg 8 25
2845
3
thg 12 24
1279
0
thg 11 24
1464
2
thg 11 24
6311