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

Update assignees check to include any writing team and change org sidebar #18680

Merged
merged 7 commits into from
Feb 23, 2022

Conversation

zeripath
Copy link
Contributor

@zeripath zeripath commented Feb 8, 2022

Following the merging of #17811 teams can now have differing write and readonly permissions, however the assignee list will not include teams which have mixed perms.

Further the org sidebar is no longer helpful as it can't describe these mixed permissions situations.

Fix #18572

Fix go-gitea#18572

Signed-off-by: Andrew Thornton <art27@cantab.net>
Fix go-gitea#18572

Signed-off-by: Andrew Thornton <art27@cantab.net>
models/repo.go Show resolved Hide resolved
models/repo.go Show resolved Hide resolved
@GiteaBot GiteaBot added lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Feb 9, 2022
models/repo.go Outdated Show resolved Hide resolved
models/repo.go Show resolved Hide resolved
models/repo.go Show resolved Hide resolved
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Feb 22, 2022
@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (main@704bdf8). Click here to learn what that means.
The diff coverage is 73.68%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main   #18680   +/-   ##
=======================================
  Coverage        ?   46.60%           
=======================================
  Files           ?      853           
  Lines           ?   122492           
  Branches        ?        0           
=======================================
  Hits            ?    57085           
  Misses          ?    58515           
  Partials        ?     6892           
Impacted Files Coverage Δ
routers/web/org/teams.go 0.00% <0.00%> (ø)
models/repo.go 53.31% <77.77%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 704bdf8...c45c63f. Read the comment docs.

Signed-off-by: Andrew Thornton <art27@cantab.net>
@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 Feb 23, 2022
@zeripath zeripath merged commit cb41f5c into go-gitea:main Feb 23, 2022
@zeripath zeripath deleted the fix-18572-team-permissions-check branch February 23, 2022 22:07
zeripath added a commit to zeripath/gitea that referenced this pull request Feb 23, 2022
…ebar (go-gitea#18680)

Backport go-gitea#18680

Following the merging of go-gitea#17811 teams can now have differing write and readonly permissions, however the assignee list will not include teams which have mixed perms.

Further the org sidebar is no longer helpful as it can't describe these mixed permissions situations.

Fix go-gitea#18572

Signed-off-by: Andrew Thornton <art27@cantab.net>
@zeripath zeripath added the backport/done All backports for this PR have been created label Feb 23, 2022
lunny pushed a commit that referenced this pull request Feb 24, 2022
…ebar (#18680) (#18873)

Backport #18680

Following the merging of #17811 teams can now have differing write and readonly permissions, however the assignee list will not include teams which have mixed perms.

Further the org sidebar is no longer helpful as it can't describe these mixed permissions situations.

Fix #18572

Signed-off-by: Andrew Thornton <art27@cantab.net>
zjjhot added a commit to zjjhot/gitea that referenced this pull request Feb 24, 2022
* giteaofficial/main:
  Fix ldap user sync missed email in email_address table (go-gitea#18786)
  Update assignees check to include any writing team and change org sidebar (go-gitea#18680)
  Set max text height to prevent overflow (go-gitea#18862)
  Lock gofumpt to v0.3.0 and run it (go-gitea#18866)
Chianina pushed a commit to Chianina/gitea that referenced this pull request Mar 28, 2022
…ebar (go-gitea#18680)

Following the merging of go-gitea#17811 teams can now have differing write and readonly permissions, however the assignee list will not include teams which have mixed perms.

Further the org sidebar is no longer helpful as it can't describe these mixed permissions situations.

Fix go-gitea#18572

Signed-off-by: Andrew Thornton <art27@cantab.net>
@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
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.

[Bug Report] Team Permission Status
5 participants