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

Let MinUnitAccessMode return correct perm #18675

Merged
merged 2 commits into from
Feb 8, 2022
Merged

Conversation

Gusted
Copy link
Contributor

@Gusted Gusted commented Feb 8, 2022

  • Don't let TypeExternalTracker or TypeExternalWiki influence the minimal permission, as they won't be higher than read. So even if all the other ones are write, these 2 will ensure that's not higher than read.
  • Partially resolves [Bug Report] Team Permission Status #18572 (Point 1,2,5?)

- Don't let `TypeExternalTracker` or `TypeExternalWiki` influence the
minimal permission, as they won't be higher than read. So even if all
the other ones are write, these 2 will ensure that's not higher than
read.
- Partially resolves go-gitea#18572 (Point 1,2,5?)
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Feb 8, 2022
@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 8, 2022
@zeripath zeripath added backport/v1.16 type/bug and removed lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. labels Feb 8, 2022
@zeripath zeripath added this to the 1.17.0 milestone Feb 8, 2022
@zeripath
Copy link
Contributor

zeripath commented Feb 8, 2022

make lgtm work

@GiteaBot GiteaBot added the lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. label Feb 8, 2022
@zeripath zeripath merged commit ae0d8d9 into go-gitea:main Feb 8, 2022
@zeripath
Copy link
Contributor

zeripath commented Feb 8, 2022

Please send backport

zjjhot added a commit to zjjhot/gitea that referenced this pull request Feb 9, 2022
* giteaofficial/main:
  Prevent security failure due to bad APP_ID (go-gitea#18678)
  [skip ci] Updated translations via Crowdin
  Let `MinUnitAccessMode` return correct perm (go-gitea#18675)
  Simplify Boost/Pause logic (go-gitea#18673)
  update the comparison documents (go-gitea#18669)
  Restart zero worker if there is still work to do (go-gitea#18658)
@Gusted Gusted deleted the fix-min-units branch February 9, 2022 16:08
Gusted pushed a commit to Gusted/gitea that referenced this pull request Feb 9, 2022
@Gusted Gusted added the backport/done All backports for this PR have been created label Feb 9, 2022
zeripath pushed a commit that referenced this pull request Feb 9, 2022
Chianina pushed a commit to Chianina/gitea that referenced this pull request Mar 28, 2022
- Don't let `TypeExternalTracker` or `TypeExternalWiki` influence the
minimal permission, as they won't be higher than read. So even if all
the other ones are write, these 2 will ensure that's not higher than
read.
- Partially resolves go-gitea#18572 (Point 1,2,5?)

Co-authored-by: zeripath <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
4 participants