Groovy script runner: Limiting access to scripting panel

Hi,

 

Is there any way to restrict access to the groovy script runner console to jira-system-administrators, rather than jira-administrators?  We have a lot of jira-administrators, because they need to do Project specific work, or look at user and group information, and we wouldn't necessarily want them to be able to access the scripting panel.

3 answers

1 accepted

Accepted Answer
0 votes

Yeah. Nic is correct in that I looked at it. My justification for not doing it was broadly that, if you have an admin who wants to intentionally abuse that functionality, and you disable it from them, they could also equally abuse that privilege by using the workflow functions, eg the "scripted condition". I could prevent any non-system admin executing any code, but that would pretty much make the whole thing useless. So I don't want to hide the console and give people the false impression that non system admins can't run code.

I'm sure you will find a larger discussion on my issue tracker.

If you want to implement it you could just write some javascript that blocks it for non system admins.

Maybe I will add some form of auditing, perhaps that would suffice.

thanks very much for the help smile

0 votes

Not really, no.  I think Jamie looked at this a while ago, but there wasn't a lot of demand.

I have to say that even though I would like to see a lot more delegation of some admin rights down to lesser users, you really really really should not have "a lot of Jira administrators" - it's a recipe for disaster.  Most installations should have 2 or 3.  Maximum sane number is around 10...

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 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...

21,611 views 2 7
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