riban-bw / lone_working

Telegram messenger bot lone working service
GNU General Public License v3.0
0 stars 0 forks source link

Feature request: Constrain users roles #8

Open riban-bw opened 4 months ago

riban-bw commented 4 months ago

Currently any user can opt to be a supervisor and / or start a monitored session. It may be advantageous to have roles assigned to users so that they can only perform the relevant operation.

Roles might include:

I would expect the roles to not be mutually exclusive. If feature #6 is implemented then these roles may need to have group context, e.g. a user may be a monitored user in group A and be a superviosr in group B. We may want a hierachy of inheritence so that a supervisor can automatically be a monitored user.