Security Warning

Hello!

It is possible to remove the warning message when trying to access without privileges to a component in a proyect?

Thanks a lot for your help!


No, that message is built-in. You can remove the security from the button itself and put it in the event handler where you specify any message you want. Something like:if "RoleName" in system.security.getRoles(): system.nav.openWindow("SomeWindow") else: system.gui.messageBox("You cannot open this window")

Thanks Travis! useful