owntracks / quicksetup

A (mostly) automated installer for OwnTracks Recorder, Frontend with MQTT and Let's Encrypt
https://owntracks.org/booklet/guide/quicksetup/
9 stars 3 forks source link

Friend relationships in MQTT / HTTP modes #17

Closed jpmens closed 4 months ago

jpmens commented 4 months ago

Upon configuring Quicksetup we automagically set up friends and add them to mosquitto.acl, give them passwords in mosquitto.pw and htpasswd.

In Mosquitto's ACL we configure one friend can see all which at least for the moment is okay'ish.

But when configuring httpmode for a friend, there's no automatic addition of anybody to the friends in HTTP mode Recorder database.

This is both an enhancement and a bug. ;-)

jpmens commented 4 months ago

MQTT relationships can be constructed with friend-specific ACLs. (Fixed in https://github.com/owntracks/quicksetup/issues/25)

At best we'll revisit HTTP mode much much later.