<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Web Visu - access rights</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/ffce61de00/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/ffce61de00/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/ffce61de00/</id><updated>2020-02-27T19:08:16.774000Z</updated><subtitle>Recent posts to Web Visu - access rights</subtitle><entry><title>Web Visu - access rights</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/ffce61de00/?limit=25#b290" rel="alternate"/><published>2020-02-27T19:08:16.774000Z</published><updated>2020-02-27T19:08:16.774000Z</updated><author><name>FabioPD</name><uri>https://forge.codesys.com/u/fabiopd/</uri></author><id>https://forge.codesys.com7418e9f413a461c07a1d8b36b31ab40b5b565f07</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi!  where I can find some information about CurrentUsername and INTERN statement? I haven't found in the COdesys Help. May there is a tutorial online...&lt;br/&gt;
THanks a lot.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Web Visu - access rights</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/ffce61de00/?limit=25#a632" rel="alternate"/><published>2020-02-27T19:08:13.426000Z</published><updated>2020-02-27T19:08:13.426000Z</updated><author><name>timvh</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.com52b876347f8ea733d19d035b237e2264549493cd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;3S-Software has made an example for this. Go to their website and click on Download =&amp;gt; CoDeSys Sample Projects.&lt;br/&gt;
Through this ftp site go to Projects/CoDeSysV2.3/Visualisation/LoginDemo_XML/.&lt;br/&gt;
This shows you how to handle a login through the web.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Web Visu - access rights</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/ffce61de00/?limit=25#bbd8" rel="alternate"/><published>2020-02-27T19:08:12.232000Z</published><updated>2020-02-27T19:08:12.232000Z</updated><author><name>Insight</name><uri>https://forge.codesys.com/u/insight/</uri></author><id>https://forge.codesys.comaf0c3d5535f017b56664b734a9f3a5ed90c3e51a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you JAPIB&lt;/p&gt;
&lt;p&gt;I tried with these declarations, but the result is the same. &lt;br/&gt;
I forgot to say that all access restrictions work well in CoDeSys -&amp;gt; Visualisation interface, but in the web interface all items are available without any passwords. No matter with or without declarations for CurrentUserLevel, CurrentPasswords.... &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Web Visu - access rights</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/ffce61de00/?limit=25#8709" rel="alternate"/><published>2020-02-27T19:08:08.896000Z</published><updated>2020-02-27T19:08:08.896000Z</updated><author><name>JAPIB</name><uri>https://forge.codesys.com/u/japib/</uri></author><id>https://forge.codesys.com574daf53d688c6be7ff28e6e7539a60b27fd61cd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;J think you have to declare somes variables, for example :&lt;/p&gt;
&lt;p&gt;VAR_GLOBAL RETAIN&lt;br/&gt;
    CurrentUserLevel: INT := 1;&lt;br/&gt;
    CurrentPasswords: ARRAY&lt;span&gt;[0..7]&lt;/span&gt; OF STRING&lt;span&gt;[20]&lt;/span&gt; := 'aa','bb','cc','dd','ee','ff','gg','hh';&lt;br/&gt;
    VisuDoExecuteUserlevelInit: BOOL := FALSE;&lt;br/&gt;
END_VAR&lt;/p&gt;
&lt;p&gt;With : &lt;br/&gt;
CurrentUserLevel : level of password you want to set on start&lt;br/&gt;
CurrentPasswords : Array,  8 levels of password&lt;/p&gt;
&lt;p&gt;Then you can change User or Password by program, or in the pages of display you can add buttons.&lt;br/&gt;
Add a button, and configure :Category --&amp;gt;Input --&amp;gt;Execute program&lt;br/&gt;
INTERN CHANGEUSERLEVEL&lt;br/&gt;
INTERN CHANGEPASSWORD&lt;/p&gt;
&lt;p&gt;Hoping to help you, sincerely.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Web Visu - access rights</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/ffce61de00/?limit=25#fea0" rel="alternate"/><published>2020-02-27T19:08:07.716000Z</published><updated>2020-02-27T19:08:07.716000Z</updated><author><name>Insight</name><uri>https://forge.codesys.com/u/insight/</uri></author><id>https://forge.codesys.com4c02be06bdd6214a7c1684d7b30f4d534465a072</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am trying to define access rights to web visualisation trough Codesys programing interface with right mouse button over the object (e.g. PLC_VISU) -&amp;gt; Object properties -&amp;gt; Access rights. I am defining different passwords for different groups, but no matter what I do, when I try to access via web interface, it never asks for user name / password and I have full access to all objects.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[attachment=0]&lt;/span&gt;CoDeSysAccR.PNG&lt;span&gt;[/attachment]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: CoDeSysAccR.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=224"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>