generated from Real-Dev-Squad/website-template
-
Notifications
You must be signed in to change notification settings - Fork 201
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
Sync User Profile Image on Discord and RealDevSquad V1 [RFC] #1924
Labels
feature task
Feature that has to be built
Comments
This was referenced Apr 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Brief
RealDevSquad
orDiscord
, leading to inconsistency between the profile images on different profiles.status
, to thephoto-verification
object which can have the values ofACCEPTED, PENDING, and REJECTED
, which will help in simplifying the querying of the objects based on their status. note - thestatus
will turn toACCEPTED
only when both theprofile.approved
anddiscord.profile
is approved.User Flows
my-site
.PHOTO_VERIFICATION
, which will store the previous as well as the requested changes.PHOTO_VERIFICATION
only bySUPERUSER
and then make the user profile changes.PHOTO_VERIFICATION
ondashboard-site
.Approve
,Reject
&Refresh Discord Avatar
API Docs
/discord-actions/avatar/update/:discordId
, this API will be responsible for updating the discord avatar URL in aPENDING
statusphoto-verification
object. Only forSUPERUSER
./picture/all
, this API will be responsible for querying all the currentPENDING
statusphoto-verification
objects back. It can also acceptusername
as a query parameter to filter. Only forSUPERUSER
/picture/:userId
, will be responsible for querying all the currentPENDING
statusphoto-verification
objects back for theuserId
provided.SUPERUSER
can run this for anyuserId
, while other users can only run for their ownuserId
.Dashboard
SUPERUSER
to interact with photo-verification objects. Giving the user the ability to perform all of the above actions and also more in the future.The text was updated successfully, but these errors were encountered: