Skip to content

v1.4.1 - Imports are admin-only everywhere

Choose a tag to compare

@mayerwin mayerwin released this 04 Oct 06:28
· 7 commits to main since this release

Improvement

The import service is now admin-only, like the panel

The Merge History sidebar panel has always been shown only to administrators: users without admin rights do not see it in their sidebar and cannot open it by its URL.

The merge_sensor_history.import_history service now follows the same rule. A call made by a user without admin rights, for example through the API, is refused. Automations and scripts are unaffected, since they do not run as a user.

Notes

  • No change for administrators, and nothing changes about what an import writes.
  • To keep someone out of the panel, make sure their Home Assistant user is not an administrator (Settings > People > Users, untick Administrator).