You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zettat123 0ab22a1a02
fix incorrect role labels for migrated issues and comments (#22914)
Fix #22797.

## Reason
If a comment was migrated from other platforms, this comment may have an
original author and its poster is always not the original author. When
the `roleDescriptor` func get the poster's role descriptor for a
comment, it does not check if the comment has an original author. So the
migrated comments' original authors might be marked as incorrect roles.

---------

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
1 year ago
..
admin Add context cache as a request level cache (#22294) 1 year ago
auth Add context cache as a request level cache (#22294) 1 year ago
events Implement FSFE REUSE for golang files (#21840) 2 years ago
explore Remove ONLY_SHOW_RELEVANT_REPOS setting (#21962) 1 year ago
feed Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986) 1 year ago
healthcheck Implement FSFE REUSE for golang files (#21840) 2 years ago
misc Implement FSFE REUSE for golang files (#21840) 2 years ago
org Add context cache as a request level cache (#22294) 1 year ago
repo fix incorrect role labels for migrated issues and comments (#22914) 1 year ago
shared Add Cargo package registry (#21888) 1 year ago
user Add context cache as a request level cache (#22294) 1 year ago
auth.go Implement FSFE REUSE for golang files (#21840) 2 years ago
auth_windows.go Implement FSFE REUSE for golang files (#21840) 2 years ago
base.go Implement FSFE REUSE for golang files (#21840) 2 years ago
goget.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
home.go Implement FSFE REUSE for golang files (#21840) 2 years ago
metrics.go Implement FSFE REUSE for golang files (#21840) 2 years ago
nodeinfo.go Implement FSFE REUSE for golang files (#21840) 2 years ago
swagger_json.go Implement FSFE REUSE for golang files (#21840) 2 years ago
web.go Map OIDC groups to Orgs/Teams (#21441) 1 year ago
webfinger.go Add context cache as a request level cache (#22294) 1 year ago