I got wrong data when I used the API
Summary
I´ve tried to use the API but I got weird data.
Steps to reproduce
- I go to Profile->personal_access_tokens I create a new Access token with API permission
- I use this script:
gl = gitlab.Gitlab('https://gitlab.com', private_token=GITLAB_API_TOKEN)
projects = gl.projects.list()
[p.name for p in projects]
[user.name for user in gl.users.list()]
What is the current bug behavior?
I receive projects and users that I don't have in my account.
It returned like trunk data.
When I delete the access token previously created I don't have access again to that information, however, when I create a new token I get projects and users differents (like another account).
What is the expected correct behavior?
I should see just my data.
Relevant logs and/or screenshots
I prefer no sharing private information.