-
Notifications
You must be signed in to change notification settings - Fork 147
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The links to users in PushDetails and RepoDetails currently point to /dashboard/user/user-id, but the React Router expects them to be under /dashboard/admin/user/:id.
Expected behaviour
I can see the reasoning for keeping the list of users as an admin feature. However, since the admin routes can restricted to admin users via uiRouteAuth config, these links to user profiles don’t work for non-admin users — which feels wrong.
My inclination is to make /user and /user/:id non-admin routes, so that links to user profiles work universally.
Question
What do others think about this change?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working