Closed
Description
- Gitea version (or commit ref):
- Git version:
- Operating system:
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No - Server down
- Not relevant
- Log gist:
Description
I have two users and an organization:
- user_1: User that created the repo inside the organization
- user_2: Jenkins user
- org: Org with one added team(read only access, user_2 as member) and Owner team with user_1
Cloning an private repository with user_1 works.
Trying to clone an organization's private repository with user_2, fails with the following message:
Cloning into 'my_repo'...
Gitea: Key access denied
Deploy key access denied: [key_id: 6, repo_id: 58]
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists
If I simply make the repository public, user_2 is able to clone it.