View unanswered posts | View active topics
|
Page 1 of 1
|
[ 5 posts ] |
|
| Author |
Message |
|
Neveen
|
Post subject: Display button to specific group Posted: Sun Mar 07, 2010 10:52 am |
|
Joined: Sun Mar 07, 2010 10:48 am Posts: 22
|
|
I have a defined groups and i want to display a button according the logged user relate to which group.
How can i do this??
Thanks in advance
|
|
| Top |
|
 |
|
Priyesh
|
Post subject: Posted: Mon Mar 08, 2010 12:57 pm |
|
Joined: Fri Dec 19, 2008 8:30 am Posts: 60
|
|
Hello,
There is an attribute named 'groups'. You can apply that on button like this ....
<button name="button_name" string="Test" type="object" groups="group_name"/>
It means if logged user has that group named group_name, then and then he can see that button.
|
|
| Top |
|
 |
|
Neveen
|
Post subject: Posted: Mon Mar 08, 2010 2:43 pm |
|
Joined: Sun Mar 07, 2010 10:48 am Posts: 22
|
|
Hello Priyesh,
I tried the groups attribute but i didn't work the button is displayed for all groups.
Thanks
|
|
| Top |
|
 |
|
Priyesh
|
Post subject: Posted: Tue Mar 09, 2010 7:28 am |
|
Joined: Fri Dec 19, 2008 8:30 am Posts: 60
|
|
Hello neveen,
Can you explain your problem in detail and what is your button type? is it object ?
What i am getting is, you want to show button to any specific group. The new logged user must have that group. So that user can see the button. If you remove that group from that user, then the user can't see that button. Am i right ? do you want to do this thing ?
Kindly be more specific.
Thanks.
|
|
| Top |
|
 |
|
Neveen
|
Post subject: Posted: Tue Mar 09, 2010 9:45 am |
|
Joined: Sun Mar 07, 2010 10:48 am Posts: 22
|
|
Hello Priyesh,
Yes you are right.
The button definition :
[button name="assign_ticket" states="pending_assignment" string="Assign to me" groups="centribee.group_centricare_care_agents" ]
has workflow type.
P.S. : This button is displayed in tree view
Thanks for your help
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 5 posts ] |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum
|