mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core&ui: fix typo
This commit is contained in:
8 files changed
+11
-11
No files matched your search
@@ -12,7 +12,7 @@ export const PERM = {
|
||||
// Domain Settings
|
||||
PERM_VIEW: 1n << 0n,
|
||||
PERM_EDIT_DOMAIN: 1n << 1n,
|
||||
PREM_VIEW_DISPLAYNAME: 1n << 67n,
|
||||
PERM_VIEW_DISPLAYNAME: 1n << 67n,
|
||||
PERM_MOD_BADGE: 1n << 2n,
|
||||
|
||||
// Problem
|
||||
@@ -104,7 +104,7 @@ export const Permission = (family: string, key: BigInt, desc: string) => ({ fami
|
||||
|
||||
export const PERMS = [
|
||||
Permission('perm_general', PERM.PERM_VIEW, 'View this domain'),
|
||||
Permission('perm_general', PERM.PREM_VIEW_DISPLAYNAME, 'View domain user displayname'),
|
||||
Permission('perm_general', PERM.PERM_VIEW_DISPLAYNAME, 'View domain user displayname'),
|
||||
Permission('perm_general', PERM.PERM_EDIT_DOMAIN, 'Edit domain settings'),
|
||||
Permission('perm_general', PERM.PERM_MOD_BADGE, 'Show MOD badge'),
|
||||
Permission('perm_problem', PERM.PERM_CREATE_PROBLEM, 'Create problems'),
|
||||
@@ -188,7 +188,7 @@ PERM.PERM_BASIC = PERM.PERM_VIEW
|
||||
| PERM.PERM_VIEW_RANKING;
|
||||
|
||||
PERM.PERM_DEFAULT = PERM.PERM_VIEW
|
||||
| PERM.PREM_VIEW_DISPLAYNAME
|
||||
| PERM.PERM_VIEW_DISPLAYNAME
|
||||
| PERM.PERM_VIEW_PROBLEM
|
||||
| PERM.PERM_EDIT_PROBLEM_SELF
|
||||
| PERM.PERM_SUBMIT_PROBLEM
|
||||
|
||||
Reference in new issue
Block a user