Page 1 of 1

Access to timers for non-admin users

Posted: Saturday 21 August 2021 23:08
by Hanza
Is it possible to add a user who is not an administrator to the "Timers" tab?
I would like to allow my father, who does not need access to the entire system, to operate the schedule of the thermostat and several lamps.

I saw posts with such a question from 2017, but it remained unanswered.
e.g. viewtopic.php?f=12&t=17512&p=134088
or viewtopic.php?f=47&t=17558&p=136526
Does anyone have any idea how this can be solved?
I added tab access in GUI, but modifying parameters is impossible.

Thanks in advance for your suggestions :)

Re: Access to timers for non-admin users

Posted: Sunday 22 August 2021 0:29
by waltervl
There are 3 user roles to choose from: https://www.domoticz.com/wiki/User_Management

Only an admin has change rights on devices. But you can limit the devices he can see. But probably not what you want.

Re: Access to timers for non-admin users

Posted: Monday 06 September 2021 23:51
by Hanza
Thank you for your answer.
In fact, this is not the functionality I need.
I wonder how to do it differently, although I will probably look around in the domoticz code in my "free time" and release access to "Timers" for all types of users.
Any suggestions where to look?

Re: Access to timers for non-admin users

Posted: Tuesday 07 September 2021 0:03
by waltervl
Hanza wrote: Monday 06 September 2021 23:51 I will probably look around in the domoticz code in my "free time" and release access to "Timers" for all types of users.
Any suggestions where to look?
In main\webserver.cpp and www\views and www\app User files to start with

Re: Access to timers for non-admin users

Posted: Tuesday 07 September 2021 15:18
by Hanza
Perfect! Thank You.