diff options
author | Puyodead1 <puyodead@proton.me> | 2023-12-14 22:09:25 -0500 |
---|---|---|
committer | Puyodead1 <puyodead@proton.me> | 2023-12-14 22:09:25 -0500 |
commit | 6a4fd5fbdb4791f37065c96173bdfacd561a825b (patch) | |
tree | 958c020da5e0ef0376808f8a3d9308b1e07cd3bd /src/util | |
parent | GuildMemberPatch: remove a useless query (diff) | |
download | server-6a4fd5fbdb4791f37065c96173bdfacd561a825b.tar.xz |
add new right for creating registration tokens
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/util/Rights.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/util/Rights.ts b/src/util/util/Rights.ts index 90ebe242..56d0e28d 100644 --- a/src/util/util/Rights.ts +++ b/src/util/util/Rights.ts @@ -94,6 +94,7 @@ export class Rights extends BitField { MANAGE_GROUPS: BitFlag(47), // can manage others' groups VIEW_SERVER_STATS: BitFlag(48), // added per @chrischrome's request — can view server stats) RESEND_VERIFICATION_EMAIL: BitFlag(49), // can resend verification emails (/auth/verify/resend) + CREATE_REGISTRATION_TOKENS: BitFlag(50), // can create registration tokens (/auth/generate-registration-tokens) }; any(permission: RightResolvable, checkOperator = true) { |