mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: files: 添加文件列表缓存
This commit is contained in:
1 parent
9e92891fb2
commit
3c4256be84
12 files changed
+64
-96
No files matched your search
@@ -232,14 +232,27 @@ export const PRIV = {
|
||||
PRIV_REJUDGE: 1 << 13,
|
||||
PRIV_VIEW_USER_SECRET: 1 << 14,
|
||||
PRIV_VIEW_JUDGE_STATISTICS: 1 << 15,
|
||||
PRIV_CREATE_FILE: 1 << 16,
|
||||
PRIV_UNLIMITED_QUOTA: 1 << 17,
|
||||
PRIV_DELETE_FILE: 1 << 18,
|
||||
PRIV_DELETE_FILE_SELF: 1 << 19,
|
||||
PRIV_ALL: -1,
|
||||
|
||||
PRIV_ALL: -1,
|
||||
PRIV_DEFAULT: 0,
|
||||
PRIV_NEVER: 1 << 20,
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
PRIV_CREATE_FILE: 1 << 16,
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
PRIV_UNLIMITED_QUOTA: 1 << 17,
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
PRIV_DELETE_FILE: 1 << 18,
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
PRIV_DELETE_FILE_SELF: 1 << 19,
|
||||
};
|
||||
|
||||
PRIV.PRIV_DEFAULT = PRIV.PRIV_USER_PROFILE
|
||||
|
||||
Reference in new issue
Block a user