generated from RealDevSquad/website-template
-
Notifications
You must be signed in to change notification settings - Fork 279
Open
Labels
feature taskFeature that has to be builtFeature that has to be built
Description
Brief
- Right now, any user can change their profile picture on
RealDevSquadorDiscord, leading to inconsistency between the profile images on different profiles. - The System is already built Profile and Discord Image Verification #1094, this task is about sharpening the edges and activating this behind the feature flag.
- Also added a new key
status, to thephoto-verificationobject which can have the values ofACCEPTED, PENDING, and REJECTED, which will help in simplifying the querying of the objects based on their status. note - thestatuswill turn toACCEPTEDonly when both theprofile.approvedanddiscord.profileis approved.
User Flows
- When a user updates their profile image from the
my-site.- Backend API, to create a
PHOTO_VERIFICATION, which will store the previous as well as the requested changes. - Backend API, to approve
PHOTO_VERIFICATIONonly bySUPERUSERand then make the user profile changes. - Show all
PHOTO_VERIFICATIONondashboard-site.- Will show current profile photo, new profile photo as well as the current discord profile photo.
- Three options
Approve,Reject&Refresh Discord Avatar
- Backend API, to create a
API Docs
/discord-actions/avatar/update/:discordId, this API will be responsible for updating the discord avatar URL in aPENDINGstatusphoto-verificationobject. Only forSUPERUSER./picture/all, this API will be responsible for querying all the currentPENDINGstatusphoto-verificationobjects back. It can also acceptusernameas a query parameter to filter. Only forSUPERUSER/picture/:userId, will be responsible for querying all the currentPENDINGstatusphoto-verificationobjects back for theuserIdprovided.SUPERUSERcan run this for anyuserId, while other users can only run for their ownuserId.
Dashboard
- A basic UI for
SUPERUSERto interact with photo-verification objects. Giving the user the ability to perform all of the above actions and also more in the future.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature taskFeature that has to be builtFeature that has to be built