I was wondering if there is any way in which I could hide user groups in the GROUP PICKER CUSTOM FIELD. This feature would eventually be required as I have created user groups based on departments. Work allotment rights are also configured by these user groups. Now two companies are going to have the same department(eg. SALES). Temporarily I have attached a prefix to the department group belonging to my company. But the end user could pick a department belonging to the other company leading to the issue being hidden in search filters that I have set.
It would be helpful if the user could see groups that I want him to see so that there is no issue of an erroneous input.
Community moderators have prevented the ability to post new answers.
Do you want to show the user only those groups which he belongs to ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No. I want to show the groups that I want him to see. He would be belonging to a project in a multi project scheme. But there would be administrators belonging to multiple projects.
I can't even save a filter to display groups. I could have added a Prefix to the group have displayed groups based on the prefix. But the filter has to be typed each time I open the group filter. This is no good.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok , how are you going to define which user should see which group ?
You will need the behaviours plugin for this , you will need to write a server side groovy script which will check if the current user and based on that display only those groups which you want him to see .
Refer this similar example
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you update the example link, I hope it no longer exist
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.