• Community
  • Questions
  • Web Item Plugin Module condition has global permission "user picker"

Web Item Plugin Module condition has global permission "user picker"


I have made a simple web item plugin which just includes quick links to jql filters. I want to only show this to our internal users and not external users. One clear permission that internal users have and the external don't is the global "Browse Users" permission.

So I was thinking to use the "JiraGlobalPermissionCondition" like the example condition below which uses the "admin" permission. I want to use permission for the "Browse Users" permission but I don't know how to find the correct parameter to use.

<condition class="com.atlassian.jira.plugin.webfragment.conditions.JiraGlobalPermissionCondition">
    <param name="permission">admin</param>

I tried;

<condition class="com.atlassian.jira.plugin.webfragment.conditions.JiraGlobalPermissionCondition">
    <param name="permission">USER_PICKER</param>

The web item plugin appears correctly but when I log in with a user without the "Browse Users" permission the web item menu item is still present.

I'm believe the "USER_PICKER" name for the permission is not right but how do I find out valid permission option names?




1 answer

I know this is an old question but I came across other permissions while I attempted to figure out how to limit this based on a project role (haven't figure that out yet).  anyway I think you can replace





This is just my guess since documentation on this is at best "light".. or non existent. 

Suggest an answer

Log in or Join to answer
Community showcase
Louis De Jaeger
Posted yesterday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

168 views 12 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot