mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: add noCheckPermView for judge download
This commit is contained in:
1 parent
3ba16c289a
commit
ee693cf36e
3 files changed
+4
-1
No files matched your search
@@ -96,6 +96,8 @@ export class ProblemSendHandler extends Handler {
|
||||
}
|
||||
|
||||
export class ProblemReceiveHandler extends Handler {
|
||||
noCheckPermView = true;
|
||||
|
||||
async get({ domainId }) {
|
||||
this.checkPerm(PERM.PERM_CREATE_PROBLEM);
|
||||
let requests = await token.getMulti(token.TYPE_IMPORT, { domainId }).toArray();
|
||||
|
||||
Reference in new issue
Block a user