yao/openapi/oauth/providers/user
Max cd9c52fe33 Normalize request paths in ACL checks and add path normalization utility
- Implemented path normalization in the ACL enforcement logic to ensure consistent matching by removing trailing slashes from request paths.
- Introduced a new utility function, normalizePath, to handle path normalization across various components.
- Updated endpoint matching and public endpoint checks to utilize the normalized paths, improving access decision accuracy.
- Enhanced team and member creation logic to include a new field, __yao_team_id, for better data management.
2025-10-23 10:48:53 +08:00
..
default.go Enhance ACL enforcement and logging for improved error handling 2025-10-22 09:51:06 +08:00
exists_test.go Add lightweight existence check methods for OAuth accounts, roles, types, and users 2025-08-03 07:14:09 +08:00
invitation.go Add invitation model and related functionality 2025-10-16 19:08:54 +08:00
invitation_test.go Add invitation model and related functionality 2025-10-16 19:08:54 +08:00
member.go Normalize request paths in ACL checks and add path normalization utility 2025-10-23 10:48:53 +08:00
member_test.go Update AcceptInvitation method to support optional user ID parameter 2025-10-14 14:15:41 +08:00
oauth_account.go Refactor invitation handling and data parsing in user provider 2025-09-16 17:54:56 +08:00
oauth_account_test.go Implement OAuth account management methods and enhance user provider functionality 2025-08-02 18:49:27 +08:00
role.go Refactor invitation handling and data parsing in user provider 2025-09-16 17:54:56 +08:00
role_test.go Enhance user role management functionality and implement role-related methods 2025-08-02 19:27:09 +08:00
team.go Normalize request paths in ACL checks and add path normalization utility 2025-10-23 10:48:53 +08:00
team_test.go Update team model and creation logic to support role management 2025-10-20 17:00:33 +08:00
type.go Enhance user type management with locale support 2025-10-13 16:16:40 +08:00
type_test.go Enhance user type management with locale support 2025-10-13 16:16:40 +08:00
user_basic.go Update UpdateUserLastLogin method to require loginCtx 2025-10-13 14:11:28 +08:00
user_basic_test.go Update UpdateUserLastLogin method to require loginCtx 2025-10-13 14:11:28 +08:00
user_list.go Refactor invitation handling and data parsing in user provider 2025-09-16 17:54:56 +08:00
user_list_test.go Update go-nanoid dependency and implement user retrieval methods 2025-08-02 18:10:04 +08:00
user_mfa.go Implement MFA functionality in user management 2025-08-02 21:08:37 +08:00
user_mfa_test.go Implement MFA functionality in user management 2025-08-02 21:08:37 +08:00
user_role_type.go Add lightweight existence check methods for OAuth accounts, roles, types, and users 2025-08-03 07:14:09 +08:00
user_role_type_test.go Implement user type management methods and enhance user provider functionality 2025-08-02 19:56:48 +08:00
user_test.go Refactor user and model structures to enhance organization and role management 2025-09-16 09:35:18 +08:00
utils.go Enhance member invitation management and related functionality 2025-09-23 17:47:43 +08:00
utils_test.go Add go-nanoid dependency and refactor user provider methods 2025-08-02 17:49:03 +08:00