stakwork / sphinx-tribes

Backend for sphinx tribes and bounties. The bounty platform pays out in bitcoin. Sign up with Sphinx Chat, complete a bounty, and earn bitcoin! Go to our website for available bounties.
https://community.sphinx.chat/bounties
33 stars 60 forks source link

Enable access to superadmin pt.1 #1003

Closed ecurrencyhodler closed 10 months ago

ecurrencyhodler commented 11 months ago

There will be two parts to this ticket. In the beginning, we will open up access to superadmin to anyone with a sphinx chat account to make it easier for contributors to test. This will be hosted on community.sphinx.chat/admin.

Use this code for reference: https://github.com/stakwork/sphinx-tribes/tree/master/frontend/app/src/people/auth

Pt.2 will restrict login to authorized users only.

Here's the link to figma.

Log in

gouravmpk commented 10 months ago

@ecurrencyhodler I have some queries 1.do we need to host this under /admin if Yes then

  1. do we need to implement the same functionality mentioned it in https://github.com/stakwork/sphinx-tribes/tree/master/frontend/app/src/people/auth
ecurrencyhodler commented 10 months ago

@gouravmpk not right now. If we did then contributors wouldn't be able to test locally for future prs. This will be the last step which is addressed in #1004 . Thanks for double-checking though.

Vayras commented 10 months ago

hi @ecurrencyhodler I would like to work on this issue, can you please assign me to this?

ecurrencyhodler commented 10 months ago

Done!

ecurrencyhodler commented 10 months ago

We decided this was no longer necessary. If someone is logged into the platform and have the right permissions, they can go straight to the /admin page and see it.