User ACL and Holiday scheduler - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9) +--- Thread: User ACL and Holiday scheduler (/showthread.php?tid=3659) |
User ACL and Holiday scheduler - domotiqa - 02.11.2021 Hi, I have a problem with a HL and user setup as partial view of Scheduler. The Holidays doesn't Appear since I upgrade to 2.6.0 and now to 2.6.2. It was displaying in 2.5 version When I try to setup the partial ACL in user tab, I can select the holiday, then save. But when I come back it has disapear. Only way to edit the user-acl table and add user - scheduler - 1 in table directly on the DB Do you have this problem ? RE: User ACL and Holiday scheduler - Daniel - 02.11.2021 Clear browser cache and try again. RE: User ACL and Holiday scheduler - domotiqa - 02.11.2021 (02.11.2021, 15:57)Daniel Wrote: Clear browser cache and try again. I tried I tried with Edge, firefox, chrome too. My script Work,: db:insert('user_acl', { user_id = 1, module = 'schedulers', item_id = 0, }) I can see the holyday checkbox checked, but still no holyday displaying when login with the user. However with admin, no problem, or if I set the user to full. Here when logging with admin: I tried in English and french (try some kind of hings). And here after my script, but still no Holiday: After script, it's checked When logging with the user: What is also strange, if I go back to user tab and edit, then save, the checkbox disapear also ! Here with the admin login: RE: User ACL and Holiday scheduler - Daniel - 02.11.2021 Bug confirmed, thanks. We are working on 2.7.0 should be mid December. RE: User ACL and Holiday scheduler - domotiqa - 02.11.2021 Yes no problem. If patch don't hesitate to pm ;-) RE: User ACL and Holiday scheduler - admin - 03.11.2021 You need to reload the web server after the db query. ACL is cached, reloading the web server updates this cache. Code: os.execute('/etc/init.d/nginx reload') |