This question has been flagged
1 Reply
4793 Views

Hi,

I need to make a button visible only on a particular user group all other users should view the button as invisible.

Thank You

Avatar
Discard
Best Answer

Hi,

just add groups to your button as this :

<button .... groups="module_name.group_name"/>

update module and refresh you browse view

Bye

Avatar
Discard

Is it possible to disable a field for admin user?....and enable for rest of the user...

yes it is possible.you have to define rest of users in a group and using groups attribute,you can do it