From b50ddb321fef9d1e4b9db05b966ab4a22eb55a8b Mon Sep 17 00:00:00 2001 From: Mariell Hoversholm Date: Fri, 25 Jul 2025 20:36:38 +0200 Subject: [PATCH] feat: add role requirement rejection Keeping the name of the enum relatively open so as to allow us to rename the role later. --- src/config.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/config.ts b/src/config.ts index 3565058..6d9716a 100644 --- a/src/config.ts +++ b/src/config.ts @@ -103,6 +103,13 @@ const rejectionValues: RejectionTemplate[] = [ prettyValue: 'AI generated', execute: ({ user }: RejectionParams) => `${user}, your project has been rejected because it appears to be significantly generated by AI. We do not accept projects of this nature as per the submission guidelines. If you feel this determination was in error, do get back to us with evidence to the contrary and we'll look it over again.`, location: () => 'thread' + }, + { + key: 'role-requirement', + enumValue: { name: 'Role requirement', value: 'role-requirement' }, + prettyValue: 'Required role is missing', + execute: ({ user }: RejectionParams) => `${user}, your project has been rejected because you lack the VC Access role.`, + location: () => 'thread' } ]