12 Commits

Author SHA1 Message Date
Yang Luo
7f52755e32 feat: improve error messages 2024-02-16 01:13:34 +08:00
dacongda
e593f5be5b
fix: improve code format (#2665)
* feat: replace io/ioutils pacakage with io/os package

* fix: add missing error handling
2024-02-01 23:06:12 +08:00
Yang Luo
a4524e9996 fix: fix Swagger @Tag 2024-01-15 23:35:40 +08:00
Yang Luo
177f2f2f11 Add userId param to GetAllObjects() API 2024-01-13 18:03:40 +08:00
Lê Tuấn Vũ
077a1cb8b7
fix: support owner parameter in enforce API (#2578) 2024-01-05 15:12:59 +08:00
xiao-kong-long
e7c015f288
feat: fix comment and configs for successfully generating OpenAPI typescript-axios sdk (#2560)
* fix: fix swagger.json, successfully generate java sdk

* fix:fix comment and change some content for successfully generating typescript-axios sdk
2023-12-29 15:12:40 +08:00
Yang Luo
a42594859f feat: improve enforce() and batchEnforce() API response 2023-12-20 11:41:54 +08:00
Yang Luo
947dcf6e75 Fix "All" roles bug in permission edit page 2023-12-02 15:26:52 +08:00
Yang Luo
43d849086f Fix 127.0.0.1 bug in isHostIntranet() 2023-10-13 23:29:37 +08:00
Yaodong Yu
9899022bcd
fix: check enforcer should not be nil (#2199)
* fix: check enforcer should not be nil

* fix: check enforcer should not be nil

* Update user.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-08-11 12:31:49 +08:00
Yaodong Yu
912d5c6a7f
fix: support enforcerId parameter in Enforce API (#2164) 2023-07-31 00:20:53 +08:00
Yaodong Yu
3c4112dd44
refactor: optimize the code to getEnforcer (#2120) 2023-07-24 14:02:34 +08:00