gitea icon indicating copy to clipboard operation
gitea copied to clipboard

repo collaborator can access all repositories of an organisation

Open init-rz opened this issue 3 years ago • 7 comments

Description

create a new user "guest" (with no assignment to an organization)

in an organization with multiple repos create a new repo "test"

add guest as collaborator to test with "read" right.

logout login as guest guest can see all repositories of the org.

expected: guest should only be able to see the test repo.

Gitea Version

1.17.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

downloaded windows binaries

Database

PostgreSQL

init-rz avatar Aug 04 '22 13:08 init-rz

What's the organization's visibility? What's your other repositories' visibility?

lunny avatar Aug 07 '22 16:08 lunny

organisation: public

repositories: public

init-rz avatar Aug 08 '22 09:08 init-rz

public repository of public organization could be read by any user from that site.

lunny avatar Aug 08 '22 14:08 lunny

thank you for the information. this a bit confusing. what do you mean by "site" ? i created the user -> user does not see any repository. i added the user to the repository, not the organization -> user can see all repositories.

if this is as intended, then pls close the ticket and perhaps add this use case to the documentation.

thanks for the project and the good support.

init-rz avatar Aug 09 '22 08:08 init-rz

What is the organisation visibility?

Is the Organisation PRIVATE, LIMITED or PUBLIC?

Is the User restricted?

zeripath avatar Aug 17 '22 22:08 zeripath

@init-rz we need some more information about this in order to determine if this is working as intended or if there is a bug.

zeripath avatar Sep 04 '22 20:09 zeripath

sorry, for late reply. yes everything was set to "public" (default when creating organization/repo)

init-rz avatar Sep 13 '22 07:09 init-rz

We close issues that need feedback from the author if there were no new comments for a month. :tea:

GiteaBot avatar Sep 08 '23 13:09 GiteaBot