User-level override of notifications for a device (e.g. stop emails)

jangrewe3 years ago

In short: As a user, i would like to be able to select which alerts i get for which devices.

The long version: I'm going to add a tracker to my girlfriend's bike, and i've already set up her user and the device on my Traccar server. I would like her to be able to see both her and my tracker, but there's no need for her to receive alarm notifications for my bike's tracker, and i don't want to receive them for her bike.

It seems as if when i (logged in as her user) untick the notification box for e.g. the "tow" alert for my bike, this unticks the notification globally - which means my user also won't receive the emails.

Is there any way to let her still see my tracker, but not receive all notifications for it?

If this is not yet a feature, maybe the model could be extended to still enable/disable a notification on the device level like it currently the case, but also let the user "subscribe"/"unsubscribe" from those notifications on the user level - without changing the notifications on the device level.

Anton Tananaev3 years ago

I didn't read the long version, but the short version is how Traccar already works. In fact that's the only way notifications work in Traccar.

jangrewe3 years ago

Then could you maybe read the long version, because the short version is what i would LIKE to have, as it's NOT how "Traccar already works", at least not for me.

Medium Version: If my GF unticks a notification for my device in her account, that notification is also unticked in my account - but i would like it to stay ticked in my account.

Feature Request: Allow unticking notifications on a user level. If she unticks the notification in her user account, it should still be ticked for any all other user accounts that did not untick it for their account (global default) .

Anton Tananaev3 years ago

Can you please provide a screenshot of what you are talking about. There's no ticking/unticking in the official version.

jangrewe3 years ago

Sure, this is what i see in my(!) account when i untick (uncheck) the checkbox for a notification when logged in with my GF's account.

  • While being logged in with my account, i check in my browser (A) the notifications settings for "Jan's device", everything is checked/ticked/enabled.
  • I open a separate browser (B), login with my GF's account, go to "Jan's device", open the notification settings window, untick the "alarm" notification. (see screenshot)
  • I reload the page in my browser (A), open the notification settings for "Jan's device", and there the "alarm" notification is now also unticked - which it shouldn't be, because i did not untick it in my account.

So the changes i made to "Jan's device" in my GF's account are also applied to "Jan's device" my account. And that's the problem: I want her notification settings for any device to be the way she wants them for her account, while i can have my own settings for that very same device in my account.

screenshot of notifications

Anton Tananaev3 years ago

Then why are you sharing your notifications with her instead of her setting up her own? I'm very confused.

jangrewe3 years ago

How would that change anything? If we have two devices, one for each of us, and we both want to be able to see those two devices (each others location), but only receive notifications for their own device: if i set up two separate notifications, one for each device, as long as a notification is active for that device for the device's "main" owner, we will both get the notification for both devices, because we can both see the both devices.

The reason why i'm "sharing" my notifications with her: i'm the admin, i manage the devices, i set up the notifications at the instance level because it's a bit technical and i don't want to bother her with the details.

Anton Tananaev3 years ago

You have to unlink notification from your user account if you don't want to receive it. It has nothing to do with sharing devices.