Hi,
I' ve created class that extends JiraWebActionSupport. Action displays custom data connected with issue. How could I restrict access to logged users? Should it be configured from atlassian-plugin file? Any code examples
You must have a web-item to execute that action? If so, it can be hidden using conditions:
Use
<condition class="com.atlassian.jira.plugin.webfragment.conditions.UserLoggedInCondition"/>
Beware if the action contains important information... AFAIK that only hides the link, not access to the url if you know it. Best thing is to check your criteria in doValidate method as well... IIRC.
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.