Hello Everyone.
I would like ask you guys about possibility to make search-request-view visible or not in menu.
I know I can set state in XML descriptor, but I need set state depends logged user belongs to group or not.
How can I solve it?
Best regards
Mik
Hi,
it is not possible to add a condition to search-request-view, something like:
<search-request-view key="... <condition class="com.atlassian.jira.plugin.webfragment.conditions.UserIsAdminCondition" /> </search-request-view>
not work.
You must probably write own (overwrite existing) search plugin module and integrate user/group login into it. Other solution is used some javascript hack to disable links.
Hi. Thanks for answer.
Exectly, <condition class="com.atlassian.jira.plugin.webfragment.conditions.UserIsAdminCondition" />
not works.
I have solved problem by modification header.jsp (show links depending on user/groups)
Best regards
Mik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.