Dynamically allow/disallow users to view a device depending on its location.

OsamaNabih3 years ago

Hello,
I have a use case where I have several geofences, a user can only view the devices inside his own geofence. If a device leaves it, the user should no longer see it, and similarly if an external device enters his geofence, the user should see it. How do I implement this with Traccar?

Anton Tananaev3 years ago

Traccar doesn't support this out of the box, so you'll have to implement it in the code. I imagine you'll have to change many different places because you probably want to restrict both live data, events and reports.

OsamaNabih3 years ago

Thanks for the quick reply.