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

[FEAT] User definition and user management #15

Closed
1 task done
AxelOvelacq opened this issue May 24, 2024 · 6 comments
Closed
1 task done

[FEAT] User definition and user management #15

AxelOvelacq opened this issue May 24, 2024 · 6 comments

Comments

@AxelOvelacq
Copy link

Is this a new feature request?

  • I have searched the existing issues

Wanted change

Define default user credentials and/or create and delete users via an API or php command

Reason for change

This eliminates the need to manually access the WebUI to edit users in the case of automated deployment, with an orchestrator for example.

Proposed code change

php commands :

php artisan user:add [--password-from-env] [--generate-password] [--password PASSWORD] [--name DISPLAY-NAME] [--role ROLE] [--email EMAIL] [--uid UID]
php artisan user:delete <uid>
php artisan user:info
php artisan user:list
...

Environment variable to set default user creds:

DEFAULT_USER_NAME: Username
DEFAULT_USER_EMAIL: [email protected]
DEFAULT_USER_PASSWORD: strongpassword
@AxelOvelacq AxelOvelacq added the enhancement New feature or request label May 24, 2024
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@aptalca
Copy link
Member

aptalca commented May 24, 2024

@AxelOvelacq
Copy link
Author

Thanks @aptalca for your reply.
However, I didn't see anything on the page you shared about adding users. Could you please be a little more explicit?

@alexjustesen
Copy link
Contributor

@AxelOvelacq you're looking to suggest a new feature on the application and not the container, open an issue here and I'll take a look at it.

https://github.com/alexjustesen/speedtest-tracker

@LinuxServer-CI
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@LinuxServer-CI LinuxServer-CI closed this as not planned Won't fix, can't repro, duplicate, stale Sep 5, 2024
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Sep 5, 2024
Copy link

github-actions bot commented Oct 5, 2024

This issue is locked due to inactivity

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development

No branches or pull requests

4 participants