14.07.2022, 12:54
(14.07.2022, 10:35)Daniel Wrote: Try this, Add additional class 'link' to your links
Code:$(function() { if (window.Globals && Globals.user == 'admin') { $('.item-control').addClass('item-read-only'); $('.item-control-single').addClass('hide'); $('.link').removeClass('item-read-only'); } });
Hi, I've tryied and it works.
But in terms of security, is there any more secure way to do it?
Because it's pretty easy to enable it using web browser inspection tools...