I have a user who is an administrator on one project and has read access on another. This morning he was able to access Stash through the gui with no problem. But when he tried to do a git fetch he got the following on both repositories:
git fetch
fatal: remote error: Not licensed
You do not have permission to access Stash. Please contact your administrator to resolve this issue.
I've never seen this before. Looking at the project permissions he is still listed as an administrator on the first project. On the second he inherits read permissions through a group.
He is part of a group - stash-users - which grants licensed STASH user access.
We have a temporary workaround. He created and installed a new SSH key, configured it with STASH and his git clients. He can use the repositories, but only through ssh, not https.
There is no obvious reason why he lost his permissions or how to get https access back for him. Any insight would be appreciated.