Skip to content

Conversation

@a1012112796
Copy link
Member

Because I think it's crazy and not reasonale , that if a user can prohibit themself to login. so suggest limit this choice on ui.

Because I think it's crazy and not reasonale , that if a user can
prohibit themself to login. so suggest limit this choice on ui

Signed-off-by: a1012112796 <1012112796@qq.com>
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Apr 5, 2020
@zeripath zeripath added this to the 1.12.0 milestone Apr 5, 2020
@zeripath zeripath changed the title ui: limit managers prohibit themself to login Users should not be able to prohibit their own login Apr 5, 2020
@zeripath
Copy link
Contributor

zeripath commented Apr 5, 2020

Coming up with a succinct title for this PR is remarkably difficult!

@codecov-io
Copy link

Codecov Report

Merging #10970 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #10970      +/-   ##
==========================================
- Coverage   43.62%   43.60%   -0.02%     
==========================================
  Files         597      597              
  Lines       83923    83923              
==========================================
- Hits        36613    36597      -16     
- Misses      42799    42813      +14     
- Partials     4511     4513       +2     
Impacted Files Coverage Δ
modules/git/utils.go 65.67% <0.00%> (-4.48%) ⬇️
modules/process/manager.go 74.69% <0.00%> (-3.62%) ⬇️
services/pull/patch.go 62.93% <0.00%> (-2.80%) ⬇️
services/pull/temp_repo.go 29.05% <0.00%> (-2.57%) ⬇️
services/pull/check.go 50.00% <0.00%> (-1.83%) ⬇️
modules/queue/workerpool.go 56.93% <0.00%> (-1.07%) ⬇️
modules/git/repo.go 47.28% <0.00%> (-0.84%) ⬇️
models/lfs.go 17.27% <0.00%> (ø)
modules/lfs/server.go 40.35% <0.00%> (ø)
routers/swagger_json.go 0.00% <0.00%> (ø)
... and 6 more

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 b74d30a...2c120af. Read the comment docs.

@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 Apr 5, 2020
Copy link
Member

@6543 6543 left a comment

Choose a reason for hiding this comment

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

beside @guillep2k spell corect sugestion - lgtm

@techknowlogick
Copy link
Member

ping LG-TM

@techknowlogick techknowlogick merged commit 88c1432 into go-gitea:master Apr 6, 2020
ydelafollye pushed a commit to ydelafollye/gitea that referenced this pull request Jul 31, 2020
* ui: limit managers prohibit themself to login

Because I think it's crazy and not reasonale , that if a user can
prohibit themself to login. so suggest limit this choice on ui

Signed-off-by: a1012112796 <1012112796@qq.com>

* skip self Prohibit Login in post event handle

* fix comment

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
@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

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.

10 participants