owntracks / quicksetup

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

Friend relationships in MQTT / HTTP modes #17

Closed jpmens closed 8 months ago

jpmens commented 9 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 8 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.