Skip to content

Add "ghost" and "notifications" to list of reserved user names.#6208

Merged
techknowlogick merged 1 commit into
go-gitea:masterfrom
Codeberg-org:reserved-usernames-fix
Feb 28, 2019
Merged

Add "ghost" and "notifications" to list of reserved user names.#6208
techknowlogick merged 1 commit into
go-gitea:masterfrom
Codeberg-org:reserved-usernames-fix

Conversation

@tklein23

Copy link
Copy Markdown
Contributor

Username "ghost" should not be allowed, because it's a placeholder for deleted users. Username "notifications" should not be allowed, because it collides with the notifications URL.

@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Feb 27, 2019
@adelowo

adelowo commented Feb 27, 2019

Copy link
Copy Markdown
Member

+1 for ghost. That's crazy

@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #6208 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6208      +/-   ##
==========================================
- Coverage   38.87%   38.87%   -0.01%     
==========================================
  Files         354      354              
  Lines       50198    50198              
==========================================
- Hits        19516    19514       -2     
- Misses      27856    27859       +3     
+ Partials     2826     2825       -1
Impacted Files Coverage Δ
models/user.go 49.72% <ø> (ø) ⬆️
models/unit.go 0% <0%> (-14.29%) ⬇️

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 25b6496...35c070e. 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 Feb 27, 2019
@lafriks lafriks added this to the 1.8.0 milestone Feb 27, 2019
@lafriks lafriks added type/bug pr/breaking Merging this PR means builds will break. Needs a description what exactly breaks, and how to fix it! labels Feb 27, 2019
@techknowlogick techknowlogick merged commit 525f033 into go-gitea:master Feb 28, 2019
@Codeberg-org Codeberg-org deleted the reserved-usernames-fix branch March 3, 2019 09:37
@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. pr/breaking Merging this PR means builds will break. Needs a description what exactly breaks, and how to fix it! type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants