-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The current workflow for a creation of a new organisation is for them to manually message us their IG details, and for us to manually create it.
Instead, I propose this to be the new workflow:
- Any users can create a request to create a new organisation
- Admins are allowed to approve these requests based on the request information provided
- Note: On approval, the organisations should be automatically created
This will need the creation of a new publicly accessible page for users to create/manage their requests, a new admin dashboard to approve/reject these requests, as well as a new Prisma model proposed below:
enum RequestStatus {
Pending
Approved
Rejected
}
model OrganisationCreationRequest {
id Int @id @default(autoincrement())
name String
description String @default("An NUSC organisation")
telegramUrl String? @map("telegram_url")
category IGCategory
createdBy User @relation(fields: [userId], references: [id], onDelete: Cascade, onUpdate: Cascade)
userId Int @map("user_id")
status RequestStatus
createdAt DateTime @default(now()) @map("created_at")
@@map("organisation_creation_requests")
}Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request