-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Better display of bot accounts on UI #33469
Comments
I believe this is a bug. The bot account type was added without proper UI integration, leaving many inconsistencies across the system. Moving forward, we should avoid introducing incomplete features and focus on building a well-designed system. Key considerations: By addressing these points, we can ensure a more robust and user-friendly implementation. |
It seems that API sudo mode cannot generate an access token for another either, and the token generated by |
@lunny it was implemented that way intentionally, as a minimal implementation. Rather than a large PR, multiple minor enhancements were made. Since it is still not possible to set a user as a bot without modifying the database this approach was found suitable so at least some advanced users could attempt to use it. |
Also, I think bot activities should be excluded from the dashboard. |
Maybe it should be an option. |
Description
Although bots (
![image](https://private-user-images.githubusercontent.com/145281501/408798304-92b6c9c1-54eb-4f7c-8f7e-e13d2ab5c3f5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2Njc2NTgsIm5iZiI6MTczOTY2NzM1OCwicGF0aCI6Ii8xNDUyODE1MDEvNDA4Nzk4MzA0LTkyYjZjOWMxLTU0ZWItNGY3Yy04ZjdlLWUxM2QyYWI1YzNmNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNlQwMDU1NThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iODhhMjg0ODAwZGQ3OGFjNTA2MTg0OTYzNjI1ZTMwMjRiOWI1MTU5MTM2MmNiYTJkZDMxOTVkNmI3ZmZjYjQyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.6COvVt8uRQbRYJ7espq9Cjz_DgTJUwZ_yxNRrEQb0i0)
type = 4
) cannot sign in, the checkbox is still available:And I don't think these features are applicable to bots - GitHub also disables them:
![image](https://private-user-images.githubusercontent.com/145281501/408797982-9b49fd68-3ed3-4032-afe0-82b5624a21b7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2Njc2NTgsIm5iZiI6MTczOTY2NzM1OCwicGF0aCI6Ii8xNDUyODE1MDEvNDA4Nzk3OTgyLTliNDlmZDY4LTNlZDMtNDAzMi1hZmUwLTgyYjU2MjRhMjFiNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNlQwMDU1NThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zNmZjMmFiNWVjMTBhZDQ0MTgyMzA3MmU4ZWNkZDljNmJhODVjNTI0MDZjNTljODVlY2Q2MjZiMzIyMjMxNDZhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.OS9sUCSRED3o0WWgg3Gcq7Sc7Cv2Et_dh04l6fnASgM)
Perhaps we can add a
![image](https://private-user-images.githubusercontent.com/145281501/408798540-ed3e7667-533c-4647-948d-f3f044f85cbb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2Njc2NTgsIm5iZiI6MTczOTY2NzM1OCwicGF0aCI6Ii8xNDUyODE1MDEvNDA4Nzk4NTQwLWVkM2U3NjY3LTUzM2MtNDY0Ny05NDhkLWYzZjA0NGY4NWNiYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNlQwMDU1NThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04NzA0ZGI3ODFjYzAyMzZlZDljNjIwZjdjNmVjZTdlMjI1YWQzZTQ3ZGE3Y2IxMzVjZTg2ZDAxYWEyZGEzMmNkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.IO0oW-S74c7FhSE_W-MK0tQ8n7d51z7Ld409gk_XlUY)
Bot
badge on the account page of the bots and the org/team page, just like on the management page:Link #24026 #13044.
Gitea Version
1.23.1
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
See above
Git Version
2.47.1
Operating System
Ubuntu 24.04.1
How are you running Gitea?
Not so important
Database
None
The text was updated successfully, but these errors were encountered: