Skip to content

Ensure public repositories in private organizations are visible and fix admin organizations list#11465

Merged
zeripath merged 6 commits into
go-gitea:masterfrom
zeripath:fix-10144-again
May 17, 2020
Merged

Ensure public repositories in private organizations are visible and fix admin organizations list#11465
zeripath merged 6 commits into
go-gitea:masterfrom
zeripath:fix-10144-again

Conversation

@zeripath
Copy link
Copy Markdown
Contributor

Although the #11442 fixed the accessibleRepositoryCondition, the collaboration condition also needed fixing. This PR fixes this.

Also fixes the organization list on the administration page.

Fix #10144

zeripath added 2 commits May 17, 2020 21:02
Fix go-gitea#10144 (Again)

Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label May 17, 2020
Copy link
Copy Markdown
Member

@guillep2k guillep2k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a remark. LG-TM.

Comment thread models/repo_list.go
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels May 17, 2020
@zeripath zeripath changed the title Ensure public repositories in private organizations are visible and admin organizations list Ensure public repositories in private organizations are visible and fix admin organizations list May 17, 2020
Comment thread models/repo_list.go Outdated
@zeripath
Copy link
Copy Markdown
Contributor Author

Make lg-tm work

@zeripath zeripath merged commit a4cd1f1 into go-gitea:master May 17, 2020
@zeripath zeripath deleted the fix-10144-again branch May 17, 2020 23:28
6543 pushed a commit to 6543-forks/gitea that referenced this pull request May 17, 2020
…ix admin organizations list (go-gitea#11465)

* Ensure that we can see public repositories in private organization

Fix go-gitea#10144 (Again)

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Fix Admin users and organizations page

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update models/repo_list.go

Co-authored-by: Lauris BH <lauris@nix.lv>
6543 pushed a commit to 6543-forks/gitea that referenced this pull request May 17, 2020
@6543
Copy link
Copy Markdown
Member

6543 commented May 17, 2020

backport done :)

@lafriks lafriks added the backport/done All backports for this PR have been created label May 17, 2020
guillep2k pushed a commit that referenced this pull request May 18, 2020
…ix admin organizations list (#11465) (#11475)

Partial Backport of #11465

Co-authored-by: zeripath <art27@cantab.net>
zeripath added a commit that referenced this pull request May 18, 2020
…ix admin organizations list (#11465) (#11474)

* Ensure that we can see public repositories in private organization

Fix #10144 (Again)

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Fix Admin users and organizations page

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update models/repo_list.go

Co-authored-by: Lauris BH <lauris@nix.lv>

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
ydelafollye pushed a commit to ydelafollye/gitea that referenced this pull request Jul 31, 2020
…ix admin organizations list (go-gitea#11465)

* Ensure that we can see public repositories in private organization

Fix go-gitea#10144 (Again)

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Fix Admin users and organizations page

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update models/repo_list.go

Co-authored-by: Lauris BH <lauris@nix.lv>
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Public repositories within private org are not visible to members

5 participants