Files
gitocean/models
0koandGusted d1d78c1b14 fix(commenter roles): don't give system users roles (#6766)
Currently on every pull request Ghost would have a misleading "First-time contributor" role.
Also, if the issue author is a Ghost, all other ghosts who commented will be labeled as authors even if they are different ghosts.

I've added a missing check to abort all other permission and contribution checks early if the user is a ghost. Also applies to other system users, as suggested by @earl-warren.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6766
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Co-committed-by: 0ko <0ko@noreply.codeberg.org>
2025-02-05 17:34:45 +00:00
..
2025-01-31 16:22:26 +01:00
2025-01-31 14:40:27 +01:00
2024-05-14 08:24:31 +02:00
2025-01-30 12:19:59 +01:00
2025-01-31 16:22:29 +01:00
2023-12-25 21:25:29 +01:00
2025-01-05 12:21:39 +00:00
2025-01-05 12:21:39 +00:00