Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repo collaborator can access all repositories of an organisation #20668

Closed
init-rz opened this issue Aug 4, 2022 · 8 comments
Closed

repo collaborator can access all repositories of an organisation #20668

init-rz opened this issue Aug 4, 2022 · 8 comments
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail type/bug

Comments

@init-rz
Copy link

init-rz commented Aug 4, 2022

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

@noerw noerw added this to the 1.17.1 milestone Aug 4, 2022
@lunny
Copy link
Member

lunny commented Aug 7, 2022

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

@init-rz
Copy link
Author

init-rz commented Aug 8, 2022

organisation: public

repositories: public

@lunny
Copy link
Member

lunny commented Aug 8, 2022

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

@init-rz
Copy link
Author

init-rz commented Aug 9, 2022

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.

@zeripath zeripath modified the milestones: 1.17.1, 1.17.2 Aug 17, 2022
@zeripath zeripath added the issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail label Aug 17, 2022
@zeripath
Copy link
Contributor

What is the organisation visibility?

Is the Organisation PRIVATE, LIMITED or PUBLIC?

Is the User restricted?

@zeripath
Copy link
Contributor

zeripath commented Sep 4, 2022

@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 zeripath modified the milestones: 1.17.2, 1.17.3 Sep 4, 2022
@init-rz
Copy link
Author

init-rz commented Sep 13, 2022

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

@GiteaBot
Copy link
Collaborator

GiteaBot commented Sep 8, 2023

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

@GiteaBot GiteaBot closed this as completed Sep 8, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail type/bug
Projects
None yet
Development

No branches or pull requests

6 participants