-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(mis-web): 修复 scow 仅可以提交当前作业的用户来取消作业 (#972)
修复 scow 管理系统仅可 以提交当前作业的用户来取消作业,考虑从 scow 做完全的鉴权,不放开适配器权限 slurm adapter 取消作业时会 `su userId scancel xxx`,所以不能提交执行当前操作的用户 id 来取消作业。 scow 会先校验当前用户的权限,如果具有取消用户作业的权限,则获取提交当前作业的用户,使用该用户 userId 来取消作业
- Loading branch information
1 parent
e20be6f
commit 99d01eb
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@scow/mis-web": patch | ||
--- | ||
|
||
适应 scow slurm 适配器仅可取消提交当前作业用户的作业 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters