# User access control

**URL:** <https://forum.inductiveautomation.com/t/user-access-control/81157>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [October 30, 2023, 1:36pm UTC](https://forum.inductiveautomation.com/t/user-access-control/81157 "2023-10-30T13:36:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miguel\_Cimildoro](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@Miguel\_Cimildoro](https://forum.inductiveautomation.com/u/Miguel_Cimildoro)\
**Post date:** [October 30, 2023, 1:36pm UTC](https://forum.inductiveautomation.com/t/user-access-control/81157/1 "2023-10-30T13:36:03Z")

</div>

hello everyone again!

I have a question, maybe it's dummie for some, for me it is ;). I would like to have a control of the income for users who enter the Vision, which can not access in a range of hours, for example from 14:00 to 18:00 can not access the Vision.

I have made an example schedule with this configuration

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/0/d06ada662f0b42c34d89e74cac94323eba9fffe5.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/5/c52c893e0be2ab6a2e11e625feeffef551845590.png)

it is 14:33 in my country

looking at the configuration I am allowed to access until 14:30 and being 14:33 I still have access to the vision when I should not.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/3/431b7c04f780ad14a4da1a0a2e5e2c95d94d1bf7.png)

I have also configured it in config \< user \< roles

Is there an internal script that I should run as well, or should it work the way I have it?

regards.

---

<div class="post-metadata">

**Author:** ![Felipe\_CRM](https://avatars.discourse-cdn.com/v4/letter/f/dfb087/32.png) [@Felipe\_CRM](https://forum.inductiveautomation.com/u/Felipe_CRM)\
**Post date:** [October 30, 2023, 1:43pm UTC](https://forum.inductiveautomation.com/t/user-access-control/81157/2 "2023-10-30T13:43:30Z")

</div>

Did you enable "Schedule Restricted" in the User Source config itself?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/c/dcfc48a7ab954f6beb6c0a833058dba9dbef8bb1.png)

---

<div class="post-metadata">

**Author:** ![Miguel\_Cimildoro](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@Miguel\_Cimildoro](https://forum.inductiveautomation.com/u/Miguel_Cimildoro)\
**Post date:** [October 30, 2023, 2:17pm UTC](https://forum.inductiveautomation.com/t/user-access-control/81157/3 "2023-10-30T14:17:45Z")

</div>

yes, it is ☹

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/4/847b560ff34203a1ca2d2a1e001efe9fac8d8111.png)

Project properties:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/6/56cb4edf3705a20cf777ef68f3f92ab9b9fff041.png)

---

<div class="post-metadata">

**Author:** ![Felipe\_CRM](https://avatars.discourse-cdn.com/v4/letter/f/dfb087/32.png) [@Felipe\_CRM](https://forum.inductiveautomation.com/u/Felipe_CRM)\
**Post date:** [October 30, 2023, 2:21pm UTC](https://forum.inductiveautomation.com/t/user-access-control/81157/4 "2023-10-30T14:21:49Z")

</div>

What version of Ignition are you using? Let me see if I can make it work on my 8.1.20 setup.  
EDIT: I notice that the Weekdays 0000-2400 option is checked by default, I'm wondering if having that on is causing issues. I'm going to leave it on for my testing, and then test without it if I can't make the schedule work.

---

<div class="post-metadata">

**Author:** ![Miguel\_Cimildoro](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@Miguel\_Cimildoro](https://forum.inductiveautomation.com/u/Miguel_Cimildoro)\
**Post date:** [October 30, 2023, 2:27pm UTC](https://forum.inductiveautomation.com/t/user-access-control/81157/5 "2023-10-30T14:27:38Z")

</div>

8.1.22

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/8/68828eaf79eb14230184e7437e3cbcc13a0f71ae.png)

---

<div class="post-metadata">

**Author:** ![Felipe\_CRM](https://avatars.discourse-cdn.com/v4/letter/f/dfb087/32.png) [@Felipe\_CRM](https://forum.inductiveautomation.com/u/Felipe_CRM)\
**Post date:** [October 30, 2023, 2:33pm UTC](https://forum.inductiveautomation.com/t/user-access-control/81157/6 "2023-10-30T14:33:18Z")

</div>

It works for me on 8.1.20. I set up a schedule that is only active during noon:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/f/dfecfd96c92b41f467082440301432e6142f9259.png)

Set up a user with the schedule:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/8/28cf54c43cae0789907e64243490c10853b30bdc.png)

and it won't let me log in, as expected.

If I change Mr. McCree's schedule to Always, it logs in just fine. I'm at a bit of a loss here to be honest. Maybe I did something you missed?

---

<div class="post-metadata">

**Author:** ![Miguel\_Cimildoro](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@Miguel\_Cimildoro](https://forum.inductiveautomation.com/u/Miguel_Cimildoro)\
**Post date:** [October 30, 2023, 2:49pm UTC](https://forum.inductiveautomation.com/t/user-access-control/81157/7 "2023-10-30T14:49:58Z")

</div>

I don't know what happened, but I decided to do a new schedule "test" and it worked. 😉

Maybe it's because I closed the Vision client and reopened another one, I don't know, but it worked just as you said.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/a/4ac24d60fe1089377f588b43e1657ef9ab2432ba.png)

thank you very much Felipe

---

<div class="post-metadata">

**Author:** ![Felipe\_CRM](https://avatars.discourse-cdn.com/v4/letter/f/dfb087/32.png) [@Felipe\_CRM](https://forum.inductiveautomation.com/u/Felipe_CRM)\
**Post date:** [October 30, 2023, 3:00pm UTC](https://forum.inductiveautomation.com/t/user-access-control/81157/8 "2023-10-30T15:00:30Z")

</div>

> [@Miguel\_Cimildoro](#):
>
> closed the Vision client and reopened another one

Honestly, this is probably the actual solution. In my experience it often takes a restart of the client to "notice" certain config changes.
