Posts: 321
Threads: 72
Joined: Jan 2021
Reputation:
0
Hello
Is it possible via script to change the whole visu. to read only, if viewer user access.
regards,
Best Regards,
Posts: 7773
Threads: 42
Joined: Jun 2015
Reputation:
447
You can add this class to any visualization element that still needs to be clickable. But this solution will only block the UI. The user still can write to objects. For example by opening the browser console and executing grp.write() from there.
There's no solution to fully block writing at the moment. It's only possible to provide a list of objects that the user can read and write in Advanced tab of user properties in User access.
Posts: 321
Threads: 72
Joined: Jan 2021
Reputation:
0
Hello Admin
I have a customer that he want to create different users for the employee and each will have access to his office only.
So the JS will check the user name and make the total interface as read only except his office.
Best Regards,
Posts: 7773
Threads: 42
Joined: Jun 2015
Reputation:
447
I see no need for JS here. You can specify plan access rights for each user separately. For improved security you can also provide a group address list that each user has access to.