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

Authentication: add read-only mode #17488

Open
throny opened this issue Nov 29, 2024 · 3 comments
Open

Authentication: add read-only mode #17488

throny opened this issue Nov 29, 2024 · 3 comments
Assignees
Labels
backlog Things to do later enhancement New feature or request ux User experience/ interface

Comments

@throny
Copy link

throny commented Nov 29, 2024

Is your feature request related to a problem? Please describe.
It's great to have the EVCC Dashboard available to everyone. However, it's possible for everyone to change the charging profiles and limits too.

Describe the solution you'd like
It'd be great to lock these features. Changing these values should only be possible when authenticated with the password provided.

Describe alternatives you've considered
Restrict access to the entire EVCC dashboard (with something like HTTP Basic Auth)

@andig andig added the ux User experience/ interface label Nov 29, 2024
@naltatis
Copy link
Member

We already have the account system (admin password) in place. We could provide a user setting to require authentication for all endpoints. Right now, it's only required for accessing logs or changing configuration.

Can you be more specific on what you would like protected or not? Read-only mode? Should it be allowed for everyone to see charging situation and sessions/stats?

@naltatis naltatis added enhancement New feature or request backlog Things to do later labels Nov 29, 2024
@throny
Copy link
Author

throny commented Nov 29, 2024

Thanks for the quick response. Yes, it'd be great to lock more functions behind the admin password.

Basically, a read-only mode would be great.
I'd love to see the configuration of chargings protected. Like changing charging limits, the profiles (off/solar/fast), changing the wallbox settings (phases, current).

@naltatis naltatis changed the title Authentication for changing values Authentication: add read-only mode Nov 29, 2024
@naltatis
Copy link
Member

Ok, thanks for your clarification. Implementing this should not be too complicated. However, we've a lot of other topics right now.

For the meantime, the way to go would be to add basic auth via a reverse proxy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Things to do later enhancement New feature or request ux User experience/ interface
Projects
None yet
Development

No branches or pull requests

3 participants