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.
OneAuth/api/auth
veypi b0322047cd feat: Restrict user APIs to admins and add public user search
- Add /api/auth/users endpoint for authenticated users to search other users
    - Only return public info (id, username, nickname, avatar) in search results
    - Change /api/user routes to require user:admin permission instead of user:read
    - Update auth tests to use /api/auth/me for self updates
    - Add tests for new user search endpoint
1 month ago
..
init.go feat: Restrict user APIs to admins and add public user search 1 month ago
login.go refactor(auth): 重构认证系统,支持多种验证方式和 OAuth 提供商管理 1 month ago
me.go test: improve test stability and documentation 1 month ago
methods.go refactor(auth): 重构认证系统,支持多种验证方式和 OAuth 提供商管理 1 month ago
register.go fix(api/auth): reset count variable before uniqueness checks 1 month ago
search_users.go feat: Restrict user APIs to admins and add public user search 1 month ago
thirdparty.go test: improve test stability and documentation 1 month ago