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

0 votes
Accepted answer

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,316 views 12 19
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