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 users and json config #141

Merged
merged 12 commits into from
Oct 3, 2023
Merged

Admin users and json config #141

merged 12 commits into from
Oct 3, 2023

Conversation

IRHM
Copy link
Member

@IRHM IRHM commented Oct 3, 2023

  • Create watcharr.json if non-existent for server configuration. Generate a JWT_SECRET as well.
  • watcharr.json holds the same old settings from the .env file that we used to use, except MODE which will stay as an environment variable.
  • Create permissions column in users table for holding a users permissions (bitwise).
  • When no users exist (new install), the web ui will redirect to a setup page for the user to create the first (admin) account.

Closes #136

@IRHM IRHM added the enhancement New feature or request label Oct 3, 2023
@IRHM IRHM self-assigned this Oct 3, 2023
@IRHM IRHM merged commit e605c8e into dev Oct 3, 2023
@IRHM IRHM deleted the admin-users branch October 3, 2023 20:14
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
None yet
Development

Successfully merging this pull request may close these issues.

Create admin users and web setup
1 participant