Jump to content

Recommended Posts

Posted

Hello,

I apologize if the question is trivial or has been asked elsewhere, I have briefly searched for guidance on the topic, but failed to find a clear answer.

I have an application that makes use of user-based ring groups (members are users), and in the application users can enable/disable their "reachability". I used the following approaches to the problem:

  1. Actually modify all ring groups, adding and removing users according to their reachability preference
  2. Set the "enabled" property in all devices owned by a user according to the user reachablity preference

Both work correctly, but I would like to simplify the application logic. I noticed that setting the "enabled" property of the user itself seems to have no effect on how the user devices are added to the endpoints of the ring group (i.e., enabled devices owned by a disabled user still end up as valid endpoints for the ring group). On the opposite, I also tried using the "do_not_disturb" property of the user, which instead works as expected (devices owned by the user do not end up in the ring group endpoint list).

Is the fact that the "enabled" property of a user has no effect on how ring groups select endpoints for a user to be considered a bug, or is the property used solely to disable administrative access for a user?

Do you find that the correct answer for this problem is using the "do_not_disturb" feature?

Thank you in advance for your help and advice.

×
×
  • Create New...