Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profile and Discord Image Verification #1094

Closed
DashDeipayan opened this issue May 16, 2023 · 1 comment · Fixed by #1154
Closed

Profile and Discord Image Verification #1094

DashDeipayan opened this issue May 16, 2023 · 1 comment · Fixed by #1154
Assignees
Labels
backend enhancement New feature or request feature task Feature that has to be built

Comments

@DashDeipayan
Copy link
Contributor

DashDeipayan commented May 16, 2023

Feature to build profile and Discord image verification

This feature will verify if the photo of an individual is the same as the discord's photo.

Requirements:

  • User must be verified by RDS bot!!

Features:

  • The image uploaded by the user will be sent for verification(in a image-verification collection) for the moderators.
    • If there already exists a verification record, the record will be updated with new picture URL and date with approved status as false
    • If no record exists, a new record will be generated.
  • Fetching and adding the user's discord profile image in the document that moderators(SUPER USER as of now) will verify.
  • An API endpoint to get the user's images(uploaded image and discord profile image) for the moderators to verify.

Data model

{
    userId: string,
    discordId: string,
    discord: {
        url: string,
        approved: boolean,
        date: Timestamp
    }
    profile: {
        url: string,
        approved: boolean,
        date: Timestamp
    }
}

This will require a new API endpoint from RDS bot that will provide the user details.

@ivinayakg
Copy link
Contributor

ivinayakg commented Apr 16, 2024

{
    userId: string,
    discordId: string,
    discord: {
        url: string,
        approved: boolean,
        date: Timestamp
    }
    profile: {
        url: string,
        approved: boolean,
        date: Timestamp,
        publicId: string
    },
    status: `ACCEPTED` | `PENDING` | `REJECTED`
}

updated model for the #1924

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend enhancement New feature or request feature task Feature that has to be built
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants