owntracks / android

OwnTracks Android App
http://owntracks.org
Eclipse Public License 1.0
1.37k stars 475 forks source link

Enhancement: lock settings #901

Open clevertonh opened 3 years ago

clevertonh commented 3 years ago

Hello, if it is of interest to use the APP in the corporate environment, a type of lock is necessary, especially in the settings.

For configurations, the company can use an access PIN or send a remote configuration command.

Does anyone else use the APP in the corporate environment, if so, how do they deal with users who change the settings?

growse commented 3 years ago

This doesn't sound like something we're likely to really support. One of the central principals of Owntracks is putting users in control of their location data and how / where it gets used. Preventing the user from controlling the settings on an app that's tracking their location seems to be at odds with this.

jpmens commented 3 years ago

For iOS we implement a lock setting (bool) which simply prevents settings being modified; the lock is not associated with a PIN nor should it be. The intention is to avoid youngsters playing with the settings which can, at all times, be overwritten by an .otrc OwnTracks configuration. (Documented in the Booklet.)

I fully agree with @growse that we should not put a PIN on this.

clevertonh commented 3 years ago

Hello, we can use this configuration that @jpmens commented on, the PIN was just an idea.

I would just like to prevent the user from unconfiguring the APP, since we have to carry out remote support and maintenance.

growse commented 3 years ago

I'm struggling to see a reason why you'd need to "support", "maintain" and prevent users from configuring a location tracking app installed on someone else's device that isn't for the purpose of spying on them.

clevertonh commented 3 years ago

As stated, it is for business use. The user is aware of the monitoring and has agreed to it.

The reason for blocking the settings is to prevent you from inadvertently deconfiguring and stopping the service.

jpmens commented 3 years ago

I'm adding labels to this issue, and we'll put it on the back burner to bring our two apps up to feature parity. If somebody wants to contribute code, I'm sure we'll review it. However, we will not accept the PIN feature.

iochesonome commented 1 year ago

Good morning,

I am the ICT manager of the USAR-ITA01 Italian National Fire Corps team, we have actively and successfully used OwnTrakcks in USAR rescue operations in Turkey and Libya. The system worked efficiently and gave us considerable support to the operations, especially in managing the command and control of the rescue teams, allowing us to increase the level of safety of the operators. Our need would be to set a lock on the settings to prevent the operator from accidentally changing the configurations, which happened and led to the loss of an operator's georeferencing until he returned to the base of operations. If it were possible to implement this function we would be very grateful, this would allow us to obtain a level of service fully corresponding to our rescue needs. We are using Android device.

VC Omar Petrò

hevel86 commented 2 months ago

I would also like to request this feature. For context, I use Owntracks for my daughter with special needs. She loves to go in and tinker with settings (even changing something like the Movement Mode) , so when she does this and Owntracks doesn't update the location it messes with automations that I have setup in Home Assistant. I've looked into "locking down" the HA app on her phone, but they aren't quite there yet with the child RBAC.