Skip to content
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

🔑 Admin Panel #4499

Closed
8 tasks
FelixMalfait opened this issue Mar 15, 2024 · 2 comments
Closed
8 tasks

🔑 Admin Panel #4499

FelixMalfait opened this issue Mar 15, 2024 · 2 comments

Comments

@FelixMalfait
Copy link
Member

FelixMalfait commented Mar 15, 2024

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

  • Rename canImpersonate to canAccessAdminPanel on users table
  • Create a new /admin index page that is only accessible for people with canAccessAdminPanel permission. This page will only be accessible to a tiny portion of users so it would be good lazy load it (we already do that for setting pages)
  • Create a page to manage config variables in admin panel
  • Create a page to run data synchronization commands in admin panel
  • Create a page dedicated to monitoring in admin panel
  • Create a page dedicated to impersonation in admin panel
  • Create a page dedicated to features flags in admin panel
  • Env var to disable admin panel entirely
Screenshot 2024-03-15 at 12 29 28
@ehconitin
Copy link
Contributor

This looks fun!
Could this issue be broken into small parts to work on?

@FelixMalfait
Copy link
Member Author

@ehconitin sorry for the late reply!
I guess what you could do is:

  • create canAccessAdminPanel on users table
  • make sure the first user that is created as canAccessAdminPanel set to true (also set canImpersonate to true)
  • add a section 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!

FelixMalfait added a commit that referenced this issue Nov 28, 2024
WIP
Related issues - 
#7090 
#8547 
Master issue - 
#4499

---------

Co-authored-by: Félix Malfait <[email protected]>
@Bonapara Bonapara changed the title Admin Panel (master issue) 🔑 Admin Panel Dec 6, 2024
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in 🎯 Roadmap & Sprints Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants