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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.