• v4 (OSGi plugin) - How can I turn it off?

    By Patrick Kwintensson 1 decade ago

    I installed the plugin and it works great, my compliments!

    But I wonder how I can turn the display off? It is not role based or anything.

    • By Mark Leusink 1 decade ago

      Normally I add a role called [debug] to my application then set the loaded property of the debug toolbar custom control to true only if a user has that role:

      loaded=“${javascript:context.getUser().getRoles.contains('[debug]')}”