How to disappear Menu Item Plugin in bar while user is not auth?

Hi.

I need to disappear Menu Item in bar while user is not auth. Is it possible?

My jira-config.properties file:

<atlassian-plugin key="${atlassian.plugin.key}" name="${project.name}" plugins-version="2">
<plugin-info>
<description>${project.description}</description>
<version>${project.version}</version>
<vendor name="${project.organization.name}" url="${project.organization.url}"/>
<param name="plugin-icon">images/pluginIcon.png</param>
<param name="plugin-logo">images/pluginLogo.png</param>
</plugin-info>
<!-- add our i18n resource -->
<resource type="i18n" name="i18n" location="timesheets-jira-plugin"/>
<!-- add our web resources -->
<web-resource key="timesheets-jira-plugin-resources" name="timesheets-jira-plugin Web Resources">
<dependency>com.atlassian.auiplugin:ajs</dependency>
<resource type="download" name="timesheets-jira-plugin.css" location="/css/timesheets-jira-plugin.css"/>
<resource type="download" name="basiccalendar.js" location="/js/basiccalendar.js"/>
<resource type="download" name="date.format.js" location="/js/date.format.js"/>
<resource type="download" name="hint.js" location="/js/hint.js"/>
<resource type="download" name="jquery-1.5.1.js" location="/js/jquery-1.5.1.js"/>
<resource type="download" name="timesheets.js" location="/js/timesheets.js"/>
<resource type="download" name="images/" location="/images"/>
<context>timesheets-jira-plugin</context>
</web-resource>
<servlet name="Timesheets Servlet" i18n-name-key="timesheets-servlet.name" key="timesheets-servlet" class="com.redwerk.servlet.TimesheetsServlet">
<description key="timesheets-servlet.description">The Timesheets Servlet Plugin</description>
<url-pattern>/redwerk-timesheets</url-pattern>
</servlet>
<web-item name="Timesheets Web Item" i18n-name-key="timesheets-web-item.name" key="timesheets-web-item" section="system.top.navigation.bar" weight="1000">
<description key="timesheets-web-item.description">The Timesheets Web Item Plugin</description>
<label key="timesheets-web-item.label">Timesheets</label>
<link linkId="timesheets-web-item-link">/plugins/servlet/redwerk-timesheets</link>
</web-item>
</atlassian-plugin>

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

69 views 0 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you