core: 修复错误

* 无法下载测试数据的问题
* 无法导出作业成绩单的问题
* cli 模式无法载入的问题
* syzoj 导入跳转错误的问题
This commit is contained in:
undefined committed 2021-01-25 22:23:06 +08:00
1 parent 66639b14de
commit f0b9bee937
8 files changed
+19 -26

No files matched your search

+5 -15
View File
@@ -18,9 +18,7 @@ export const PERM = {
// Problem and Record
PERM_CREATE_PROBLEM: 1n << 4n,
PERM_EDIT_PROBLEM: 1n << 5n,
/**
* @deprecated
*/
/** @deprecated */
PERM_EDIT_PROBLEM_SELF: 1n << 6n,
PERM_VIEW_PROBLEM: 1n << 7n,
PERM_VIEW_PROBLEM_HIDDEN: 1n << 8n,
@@ -237,21 +235,13 @@ export const PRIV = {
PRIV_DEFAULT: 0,
PRIV_NEVER: 1 << 20,
/**
* @deprecated
*/
/** @deprecated */
PRIV_CREATE_FILE: 1 << 16,
/**
* @deprecated
*/
/** @deprecated */
PRIV_UNLIMITED_QUOTA: 1 << 17,
/**
* @deprecated
*/
/** @deprecated */
PRIV_DELETE_FILE: 1 << 18,
/**
* @deprecated
*/
/** @deprecated */
PRIV_DELETE_FILE_SELF: 1 << 19,
};