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

Create admin users and web setup #136

Closed
9 tasks done
IRHM opened this issue Sep 24, 2023 · 1 comment · Fixed by #141
Closed
9 tasks done

Create admin users and web setup #136

IRHM opened this issue Sep 24, 2023 · 1 comment · Fixed by #141
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@IRHM
Copy link
Member

IRHM commented Sep 24, 2023

Currently all users have the same basic permissions and there isn't a way to make a certain user an admin.

For #137 we will need to know which users are admins.

On a new install, we need a small setup process so the server owner can make the first admin account.

For existing installs, we will probably have to create a page, which will log a code into the server console (expire after 5m), which can be used to set the current account as an admin. This should be the easiest way for getting admin after updating.

  • Generate json config file on startup
  • Read json config and update code to use these instead of old environment vars
    • JWT_SECRET
    • JELLYFIN_HOST
    • SIGNUP_ENABLED
    • TMDB_KEY
    • DEBUG
    • MODE (staying as env var, but not through .env file, but rather set through cli when starting)
  • Create admin users (and simple setup page)
@IRHM IRHM added this to Watcharr Sep 24, 2023
@IRHM IRHM converted this from a draft issue Sep 24, 2023
@IRHM IRHM added the enhancement New feature or request label Sep 24, 2023
@IRHM IRHM added this to the v1.19.0 milestone Sep 24, 2023
@IRHM IRHM changed the title Create admin users Create admin users and web setup Sep 27, 2023
@IRHM IRHM moved this from Todo to In Progress in Watcharr Oct 2, 2023
@IRHM IRHM self-assigned this Oct 2, 2023
@IRHM
Copy link
Member Author

IRHM commented Oct 3, 2023

Config needs manual editing still until #137

@IRHM IRHM closed this as completed in #141 Oct 3, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Waiting Until Build in Watcharr Oct 3, 2023
@IRHM IRHM moved this from Waiting Until Dev Build to Done in Watcharr Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant