Limit external access to some users only

Hello,

We would like to have some external users to use an external access to work on specific project. I can imagine how to do that.

But the tricky part is that we don't want all our internal users to rely on the external access of JIRA.

We want all internal users to use the intranet to access JIRA.

Is it possible to open an external access for some specific users only?

Or is it possible to allow only some projects to be displayed when using external access? (example: user may be able to see more projects if uses the intranet access)?

Thank you, any help appreciated :)

1 answer

1 accepted

Hello,

I'm not sure if this will work or if it's even worth the effort, but I believe it is possible to write custom authenticators for JIRA (https://confluence.atlassian.com/display/DEV/Single+Sign-on+Integration+with+JIRA+and+Confluence).

In this authenticator, you could check the IP address of the request and if it is not internal, only allow certain users to authenticate. IP address you can get through the HttpServletRequest object that is passed to authentication function:

public boolean login(HttpServletRequest request, HttpServletResponse response, String username, String password, boolean cookie) throws AuthenticatorException
{
  request.getRemoteAddr();
  ...

I'm not sure if there is an easier way to do this.

Thank you Andris,

I will think about this! As you said it may not be worth the effort

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

342 views 3 11
Read article

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