Is there easy way to find "Anyone" permission set in one of permissions scheme?

I'm following JIRA applications performance tuning. There is a point "Replace jira-users with the 'Anyone' permission". Is there easy way to verify that my legacy jira instance doesn't have 'Anyone' set in one of permission scheme?

Global permissions doesn't contain that group but I would like to get deeper understading.

1 answer

1 accepted

Hi Marcin,

You'll want to check your permissions schemes for the use of the "Anyone" or "Any logged in user" values too.

In JIRA Server, you can query to the database to check for this.  The table is called "schemepermissions."  The permission schemes themselves are in the "permissionscheme" table.

This isn't what I expected, but it looks like "Anyone" or "Any logged in user" may be treated as a record with a null value in the "perm_parameter" column.  (I did a search for the string "any" and found no results.)

Try a MYSQL query like this one:

select * from schemepermissions where (perm_type = "applicationrole" or perm_type = "group") and perm_parameter is null

Then, you can use the "scheme" column to further investigate the scheme by ID.

In the browser, append it to the URL or simply query the db.

In JIRA Cloud, I think you'll have to open each scheme and do a CTRL-F (browser find) for the string: any.

Hope this helps!

Rachel Wright

Hi Rachel,

In my company we've got EOL JIRA 6.3.12 in which this findings is appliable in different way. In my case all "Anyone" are stored in DB as perm_type = "group" and perm_parameter is null.

select * from schemepermissions where perm_type = 'group' and perm_parameter is null;

 

Thank you for your input.

Marcin

 

Rachel Wright Community Champion Jul 11, 2017

Thanks Marcin, I had a bug in my query.  I updated it.  

  • perm_type = "group" will find instances of "Anyone"
  • perm_type = "applicationrole" will find instances of "Any logged in user"

Have a lovely day!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,780 views 11 18
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