Permission error on user profile page after adding SSH key


On this page

Still need help?

The Atlassian Community is here for you.

Ask the community


After adding SSH key on user profile page, the page load with permission error.

The following appears in the atlassian-stash.log with debug logging:

2013-03-25 11:50:20,318 DEBUG [http-bio-7990-exec-737] 0123 710x9052x1 199drao, "GET /admin/users/more-members HTTP/1.1" c.a.s.r.e.ServiceExceptionMapper Mapping ServiceException to REST response 401
com.atlassian.stash.exception.AuthorisationException: You are not permitted to access this resource
	at com.atlassian.stash.internal.aop.ExceptionRewriteAdvice.afterThrowing( ~[stash-platform-2.0.3.jar:na]
	at sun.reflect.GeneratedMethodAccessor1326.invoke(Unknown Source) ~[na:na]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke( ~[na:1.7.0_15]
	at java.lang.reflect.Method.invoke( ~[na:1.7.0_15]
	at org.springframework.aop.framework.adapter.ThrowsAdviceInterceptor.invokeHandlerMethod( ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]


This is a bug in Stash when the username is a numeric starting with zero:  STASH-3285 - Getting issue details... STATUS


Upgrade to Stash 2.3.1+

Last modified on Mar 30, 2016

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.