Skip to content

Commit

Permalink
增加changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
cuvalign committed Aug 20, 2024
1 parent e5de33e commit 233b48a
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 5 deletions.
13 changes: 13 additions & 0 deletions .changeset/lazy-lions-raise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"@scow/lib-operation-log": minor
"@scow/audit-server": minor
"@scow/test-adapter": minor
"@scow/mis-server": minor
"@scow/demo-vagrant": minor
"@scow/mis-web": minor
"@scow/auth": minor
"@scow/lib-auth": minor
"@scow/cli": minor
---

新增删除用户账户功能以及用户账户的删除状态带来的其他相关接口与测试文件完善
5 changes: 5 additions & 0 deletions .changeset/nasty-hornets-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@scow/grpc-api": minor
---

新增删除用户账户相关接口
5 changes: 5 additions & 0 deletions .changeset/nine-owls-remember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@scow/config": minor
---

新增 ldap 的用户 loginShell 属性与删除用户时删除标识配置
5 changes: 5 additions & 0 deletions .changeset/orange-vans-add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@scow/scheduler-adapter-protos": minor
---

**删除账户用户功能**需要**1.7.0 及以上版本**的接口
7 changes: 7 additions & 0 deletions .changeset/thin-vans-rhyme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@scow/audit-server": patch
"@scow/mis-server": patch
"@scow/mis-web": patch
---

账户列表导出时增加拥有者 ID 和姓名筛选,操作日志修正为导出账户
10 changes: 5 additions & 5 deletions apps/mis-server/src/services/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -646,11 +646,11 @@ export const userServiceServer = plugin((server) => {
message: "Error nologin user in LDAP." } as ServiceError;
});
}
// else {//本地测试无法通过
// throw {
// code: Status.UNAVAILABLE,
// message: "No permission to delete user in LDAP." } as ServiceError;
// }
else { // 本地测试无法通过
throw {
code: Status.UNAVAILABLE,
message: "No permission to delete user in LDAP." } as ServiceError;
}

await server.ext.clusters.callOnAll(currentActivatedClusters, logger, async (client) => {
return await asyncClientCall(client.user, "deleteUser",
Expand Down

0 comments on commit 233b48a

Please sign in to comment.