Commit Graph

66 Commits

Author SHA1 Message Date
haolou
6a207c7e79 fix: fix the small issue of user_id not found 2025-10-17 22:01:41 +08:00
YuehuCao
21180ea017 refactor(prefix): remove concrete prefix 2025-10-13 12:59:04 +08:00
YuehuCao
be01f95a1e chore(unit): delete unit because unlear definition 2025-10-13 12:06:37 +08:00
YuehuCao
03366c0925 chore(database): delete database check because this has been achived in middleware 2025-10-11 09:53:52 +08:00
YuehuCao
7844906cfe feat(middleware): modify database to tolerate the tenant cache 2025-10-11 09:52:52 +08:00
YuehuCao
80a6beb1ed feat(middleware): add middleware for authentication 2025-10-11 09:51:02 +08:00
YuehuCao
7a832371c7 feat(auth): add extrnal auth introspect api interface 2025-10-11 09:49:33 +08:00
YuehuCao
81f2a21f6b feat(format): modify the log format 2025-10-11 09:48:18 +08:00
YuehuCao
6bbaaae30f feat(env): add env config 2025-10-11 09:47:11 +08:00
YuehuCao
5f18212343 feat(model): add usage_log_doc 2025-10-11 09:42:40 +08:00
YuehuCao
53381d22be feature(env): add env config 2025-10-11 09:41:25 +08:00
75813a3599 Merge pull request 'tania_authentication_local' (#77) from tania_authentication_local into dev
Reviewed-on: freeleaps/freeleaps-service-hub#77
2025-09-28 02:09:50 +00:00
YuehuCao
b244fd5bc8 chore: delete used interface 2025-09-26 17:19:30 +08:00
YuehuCao
3a222d14dc feat(new): add new methonds 2025-09-26 17:18:44 +08:00
YuehuCao
89d0f2ee8f feat(new): new interfaces for create or update role&permission, and query method not using pagination 2025-09-26 17:17:14 +08:00
YuehuCao
58eea0e2b2 feat(recover): recover the initial version because we will use the new interfaces 2025-09-26 17:15:18 +08:00
YuehuCao
bad6224bd9 fix(bug): not delete the correct and exsited data 2025-09-24 19:46:19 +08:00
YuehuCao
bda5660bb6 feat(api): add query role by id API 2025-09-24 17:29:27 +08:00
Nicolas
5f8b6ed575 The log format of the central storage has been adjusted so that it can actively write corresponding logs to the log files.
Simultaneously upgraded the mirror versions of authentication and central storage.
2025-09-23 10:08:39 +08:00
YuehuCao
f01dd755aa chore(role&permission): remove definitions of roles and permissions from authentication 2025-09-23 09:56:20 +08:00
YuehuCao
49770da205 feat(custom): enable custom_id function to migrate freeleaps data safely 2025-09-23 09:46:54 +08:00
Nicolas
24fe043fc3 Set up the logging environment for authentication 2025-09-22 18:02:39 +08:00
YuehuCao
03bd84ba9a feat(permission): use new defined permission 2025-09-16 16:30:43 +08:00
YuehuCao
a3f8d7b8cf feat(role&permission): migrate the roles and permissions from freeleaps to authentication 2025-09-16 16:28:15 +08:00
sunhaolou
c200e70970 feat: add new apis for Magicleaps product use 2025-08-25 17:31:16 +08:00
icecheng
e2f51d09da feat(role): update docs 2025-08-12 11:17:52 +08:00
icecheng
69d1007ddf feat(test): add unittest for role management, add coverage report for role management 2025-07-25 16:20:50 +08:00
icecheng
30e6ca72a7 feat(refactor): remove duplicate get_current_user 2025-07-25 10:26:09 +08:00
icecheng
0f7d63f4a2 feat(role_management): add test report for role management 2025-07-22 17:14:30 +08:00
icecheng
55e0bebbef feat(role_management): update apitest for role management 2025-07-22 12:27:26 +08:00
icecheng
5be8403c75 feat(role_management): update apitest for role management 2025-07-22 12:14:58 +08:00
icecheng
6b6b52a599 feat(role_management): Add apitest for test_assign_roles 2025-07-22 11:52:41 +08:00
icecheng
9dcd27bc8a feat(role_management): Add logic for creating temporary users to apitest. 2025-07-22 11:30:16 +08:00
icecheng
beba0f5fe5 feat(role_management): add api test case for permission api 2025-07-22 10:28:05 +08:00
icecheng
641281066c feat(role_management): Add pytest for auth services, and add api test case for role management 2025-07-21 17:51:08 +08:00
icecheng
b8be65615b feat(role_management): Add a universal Depends for permission verification. 2025-07-21 15:10:27 +08:00
icecheng
4109018692 feat(role_management): Update the JWT token generation logic to include new fields user_roles and user_permissions in the payload. 2025-07-21 13:09:59 +08:00
icecheng
419e58da0c feat(role_management): add delete role api 2025-07-21 10:53:37 +08:00
icecheng
4f39f888c4 feat(role_management): add delete permission api 2025-07-21 10:33:21 +08:00
icecheng
ca0bfb155f feat(role_management): add assign roles to user api 2025-07-21 10:20:46 +08:00
icecheng
795c1262c6 feat(role_management): add assign permissions to role api 2025-07-21 09:31:37 +08:00
icecheng
2382f0bece feat(role_management): add crud for role and permission 2025-07-18 18:05:57 +08:00
zhenyus
bb90b26883 feat(log): ensure parent directory exists before opening log file
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 13:25:05 +08:00
zhenyus
b8f7307a86 refactor(log): refactoring logging for each service for loki
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 10:55:26 +08:00
zhenyus
13c883966e build(pip): freeze missing deps for metrics supports
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 17:57:13 +08:00
zhenyus
962292cfe0 chore: enabled orm initialization when startup
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-12 16:10:47 +08:00
zhenyus
9754576d28 feat(probes): add metrics and probes APIs for application health checks
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-12 15:59:06 +08:00
Zhenyu Sun
9b42dbfa7f build(dockerfile): update entrypoint for authentication 2025-02-22 13:37:47 +00:00
Zhenyu Sun
de37fcddba build(docker): remove additional scripts 2025-02-22 11:40:23 +00:00
Jet Li
8ab64be6a1 Fix the typo used in the authentication log 2025-02-01 10:24:19 +00:00