-
Bug
-
Resolution: Unresolved
-
Minor
-
None
When using bitbucket oauth and attempting to use the api token for a user.
In the security matrix I have users added and with full permissions, but when attempting to use that users api token I receive a permissions error.
The issue is the user id and the login id are different. A user id may be bob and the jenkins id is actually bob@email.com when using the bitbucket plugin. So if I grab bob's auth token and attempt to curl -u bob:token http://jenkins I will receive a permissions error complaining that bob@email.com does not have access. I can work around this by adding bob@email.com to the security matrix and giving him permissions in addition to bob.