Skip to content

Commit

Permalink
open-api: fix bug (#701)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZzIsGod1019 authored Apr 9, 2024
1 parent 4b1bee9 commit 5261263
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
2 changes: 1 addition & 1 deletion backend/services/spacegate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ lazy_static.workspace = true
spacegate-shell = { workspace = true, features = [
"k8s",
"plugin-all",
"ext-redis",
# "ext-redis",
"cache",
] }
tardis = { workspace = true }
Expand Down
8 changes: 8 additions & 0 deletions backend/supports/iam/src/basic/serv/iam_open_serv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
},
Expand All @@ -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()
},
Expand Down

0 comments on commit 5261263

Please sign in to comment.