Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4998 Vues

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

Avatar
Ignorer
Meilleure réponse

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

Avatar
Ignorer
Auteur

Thanks for your response,

in which case, assigning groups to VIEW will work

Publications associées Réponses Vues Activité
3
juil. 25
6727
0
mars 25
2563
3
déc. 24
1245
0
nov. 24
1423
2
nov. 24
6270