This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Change the visualization icons to read only (view) if viewer user access
#2
Add this code to Custom JavaScript. Keep in mind that this will only block the visualization elements not the actual writing. By default Link elements and Widgets won't work with this solution. As a work-around you can add clickable class to the elements that the user should be able to click.
Code:
$(function() {
  if (Globals.user == 'viewer') {
    $('.layer > div').addClass('item-read-only');
    $('.clickable').removeClass('item-read-only');
  }
});
Reply


Messages In This Thread
RE: Change the visualization icons to read only (view) if viewer user access - by admin - 25.11.2021, 09:12

Forum Jump: