From 52612637eb92d04a13cd50a45c2b026bd686777b Mon Sep 17 00:00:00 2001 From: ZzIsGod1019 <1498852723@qq.com> Date: Tue, 9 Apr 2024 10:01:59 +0800 Subject: [PATCH] open-api: fix bug (#701) --- Cargo.toml | 2 +- backend/services/spacegate/Cargo.toml | 2 +- backend/supports/iam/src/basic/serv/iam_open_serv.rs | 8 ++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9537f174e..38a90daf3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -80,7 +80,7 @@ tardis = { version = "0.1.0-rc.11" } spacegate-shell = { git = "https://github.com/ideal-world/spacegate.git", branch = "master", features = [ "cache", "k8s", - "ext-redis", +# "ext-redis", ] } spacegate-plugin = { git = "https://github.com/ideal-world/spacegate.git", branch = "master" } diff --git a/backend/services/spacegate/Cargo.toml b/backend/services/spacegate/Cargo.toml index 4a5b3c60b..4b12309e5 100644 --- a/backend/services/spacegate/Cargo.toml +++ b/backend/services/spacegate/Cargo.toml @@ -18,7 +18,7 @@ lazy_static.workspace = true spacegate-shell = { workspace = true, features = [ "k8s", "plugin-all", - "ext-redis", +# "ext-redis", "cache", ] } tardis = { workspace = true } diff --git a/backend/supports/iam/src/basic/serv/iam_open_serv.rs b/backend/supports/iam/src/basic/serv/iam_open_serv.rs index 20cee3e93..f4610d19e 100644 --- a/backend/supports/iam/src/basic/serv/iam_open_serv.rs +++ b/backend/supports/iam/src/basic/serv/iam_open_serv.rs @@ -409,6 +409,10 @@ impl IamOpenServ { } else { RbumCertServ::find_one_detail_rbum( &RbumCertFilterReq { + basic: RbumBasicFilterReq { + with_sub_own_paths: true, + ..Default::default() + }, ak: ak_req.clone(), ..Default::default() }, @@ -424,6 +428,10 @@ impl IamOpenServ { } else { RbumCertServ::find_one_detail_rbum( &RbumCertFilterReq { + basic: RbumBasicFilterReq { + with_sub_own_paths: true, + ..Default::default() + }, id: cert_id_req.clone(), ..Default::default() },