planetary-social / rooms-frontend

MIT License
4 stars 2 forks source link

Room login routing #35

Open chereseeriepa opened 1 year ago

chereseeriepa commented 1 year ago

Steps to reproduce:

  1. go to https://civic.love/login (NOTE: you'll need to be an admin to login)
  2. after successful login, it takes you to https://civic.love instead of https://civic.love/admin
boreq commented 1 year ago

This is the default (expected) behaviour as the sidebar visible to logged in users is also rendered on the home page. Therefore all users are redirected to / after login. I guess we need to change the code to redirect to a different page but this is something I have to think about again in case it causes problems for users that are not admins. The prime candidate for redirection would be /admin/dashboard.

rabble commented 1 year ago

need to update how permissions and links work with the traditional go-ssb-rooms web ui.