Open FelixMalfait opened 6 months ago
This looks fun! Could this issue be broken into small parts to work on?
@ehconitin sorry for the late reply! I guess what you could do is:
canAccessAdminPanel
on users tablecanAccessAdminPanel
set to true (also set canImpersonate
to true)Server
on the admin panel with 1 page (you could do the list of users with a button "impersonat", the list of featureFlags, list of keyValuePair, a basic monitoring page with info about redis queues, etc.)That would be a great start! If we have that mechanism to create those private pages for system admins we would probably built upon it more often!
Forgot about the instructions I added in the initial post!
Context
We're taking a number of initiatives to make it easier for people to self-host. One of them is the introduction of an admin panel for server admins. Most config should be manageabl from DB, not env.
Sub-issues to create
configVariables
. Have a smart cache system to retrieve them through environmentService across the app (fall back on env value).canAccessAdminPanel
on users tablecanAccessAdminPanel
permission. Display an hello world for v2. This page will only be accessible to a tiny portion of users so it would be good to consider lazy loading options (micro-frontend? or simply use react-lazy?)