콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
5294 화면

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
7037
3
9월 25
5418
2
9월 25
4337
3
12월 24
1505
0
11월 24
1760