It is currently Sat Feb 11, 2012 11:57 am

All times are UTC + 2 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Display button to specific group
PostPosted: Sun Mar 07, 2010 10:52 am 
Offline

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
 Profile  
 
 Post subject:
PostPosted: Mon Mar 08, 2010 12:57 pm 
Offline

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
 Profile  
 
 Post subject:
PostPosted: Mon Mar 08, 2010 2:43 pm 
Offline

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
 Profile  
 
 Post subject:
PostPosted: Tue Mar 09, 2010 7:28 am 
Offline

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
 Profile  
 
 Post subject:
PostPosted: Tue Mar 09, 2010 9:45 am 
Offline

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
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 2 hours


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

Search for:

Protected by Anti-Spam ACP