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

enable system users for comment.LoadPoster (#28014) #28032

Merged
merged 1 commit into from
Nov 14, 2023

Commits on Nov 14, 2023

  1. Enable system users for comment.LoadPoster (go-gitea#28014)

    System users (Ghost, ActionsUser, etc) have a negative id and may be the
    author of a comment, either because it was created by a now deleted user
    or via an action using a transient token.
    
    The GetPossibleUserByID function has special cases related to system
    users and will not fail if given a negative id.
    
    Refs: https://codeberg.org/forgejo/forgejo/issues/1425 
    
    (cherry picked from commit 6a2d2fa24390116d31ae2507c0a93d423f690b7b)
    earl-warren authored and GiteaBot committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    141f156 View commit details
    Browse the repository at this point in the history