Logic Machine Forum
Pincode for Scheduler Access from Visu - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Pincode for Scheduler Access from Visu (/showthread.php?tid=3066)



Pincode for Scheduler Access from Visu - hummelsystemhaus - 18.12.2020

Hey,

A customer wants restricted Access to schedulers from the Visu Dashboard.
I tried a code snippet from 2017 that i found in the forum, but it doesnt work.

Code:
    /***********/
  /*** Link PIN Protection ***/
  $(function(){
  $('.mylink').off('vclick').on('vclick', function(e) {
    showPincode('1234', {
      callback: function() {
        window.location = '/scada-vis/schedulers';
      }
    });
   
    return $.stopEvent(e);
  });
});



RE: Pincode for Scheduler Access from Visu - Daniel - 18.12.2020

Why don't you just restrict it by user?


RE: Pincode for Scheduler Access from Visu - admin - 18.12.2020

You can place schedulers via iframe and protect the plan with PIN. This function does not work because for security reasons PIN check now happens on the server side.