diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-24 23:53:30 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-24 23:53:30 +1000 |
commit | d113f447fdc469ba6772135ce48aaea770bffdc8 (patch) | |
tree | ae0587f780c7c4748f4a734db35b218911d50409 /util/src/entities/Config.ts | |
parent | Typeorm redis cache (diff) | |
download | server-d113f447fdc469ba6772135ce48aaea770bffdc8.tar.xz |
Fix default rights sucking, fix patch /guilds/:id/members/:id not checking perm for nick
Diffstat (limited to '')
-rw-r--r-- | util/src/entities/Config.ts | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/util/src/entities/Config.ts b/util/src/entities/Config.ts index ac1af7f3..9aabc1a8 100644 --- a/util/src/entities/Config.ts +++ b/util/src/entities/Config.ts @@ -319,38 +319,7 @@ export const DefaultConfigOptions: ConfigValue = { secret: null, }, ipdataApiKey: "eca677b284b3bac29eb72f5e496aa9047f26543605efe99ff2ce35c9", - defaultRights: ( - Rights.FLAGS.MANAGE_GUILDS + - Rights.FLAGS.MANAGE_MESSAGES + - Rights.FLAGS.MANAGE_TICKETS + - Rights.FLAGS.MANAGE_USERS + - Rights.FLAGS.CREATE_CHANNELS + - Rights.FLAGS.CREATE_DMS + - Rights.FLAGS.CREATE_DM_GROUPS + - Rights.FLAGS.CREATE_GUILDS + - Rights.FLAGS.CREATE_INVITES + - Rights.FLAGS.CREATE_ROLES + - Rights.FLAGS.CREATE_TEMPLATES + - Rights.FLAGS.CREATE_WEBHOOKS + - Rights.FLAGS.JOIN_GUILDS + - Rights.FLAGS.PIN_MESSAGES + - Rights.FLAGS.SELF_ADD_REACTIONS + - Rights.FLAGS.SELF_DELETE_MESSAGES + - Rights.FLAGS.SELF_EDIT_MESSAGES + - Rights.FLAGS.SELF_EDIT_NAME + - Rights.FLAGS.SEND_MESSAGES + - Rights.FLAGS.USE_ACTIVITIES + - Rights.FLAGS.USE_VIDEO + - Rights.FLAGS.USE_VOICE + - Rights.FLAGS.INVITE_USERS + - Rights.FLAGS.SELF_DELETE_DISABLE + - Rights.FLAGS.DEBTABLE + - Rights.FLAGS.KICK_BAN_MEMBERS + - Rights.FLAGS.SELF_LEAVE_GROUPS + - Rights.FLAGS.SELF_ADD_DISCOVERABLE + - Rights.FLAGS.USE_ACHIEVEMENTS + - Rights.FLAGS.USE_MASS_INVITES - ).toString() + defaultRights: "30644591655936", // See util/scripts/rights.js }, login: { requireCaptcha: false, |