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

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

216 views 3 0
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