Skip to content

Commit b50ddb3

Browse files
authored
feat: add role requirement rejection
Keeping the name of the enum relatively open so as to allow us to rename the role later.
1 parent ea88572 commit b50ddb3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,13 @@ const rejectionValues: RejectionTemplate[] = [
103103
prettyValue: 'AI generated',
104104
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.`,
105105
location: () => 'thread'
106+
},
107+
{
108+
key: 'role-requirement',
109+
enumValue: { name: 'Role requirement', value: 'role-requirement' },
110+
prettyValue: 'Required role is missing',
111+
execute: ({ user }: RejectionParams) => `${user}, your project has been rejected because you lack the VC Access role.`,
112+
location: () => 'thread'
106113
}
107114
]
108115

0 commit comments

Comments
 (0)