<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.larnitech.com/index.php?action=history&amp;feed=atom&amp;title=Elements_access_privilege%2Fen</id>
	<title>Elements access privilege/en - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.larnitech.com/index.php?action=history&amp;feed=atom&amp;title=Elements_access_privilege%2Fen"/>
	<link rel="alternate" type="text/html" href="https://wiki.larnitech.com/index.php?title=Elements_access_privilege/en&amp;action=history"/>
	<updated>2026-05-19T03:37:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.11</generator>
	<entry>
		<id>https://wiki.larnitech.com/index.php?title=Elements_access_privilege/en&amp;diff=9469&amp;oldid=prev</id>
		<title>FuzzyBot: Updating to match new version of source page</title>
		<link rel="alternate" type="text/html" href="https://wiki.larnitech.com/index.php?title=Elements_access_privilege/en&amp;diff=9469&amp;oldid=prev"/>
		<updated>2022-01-26T12:48:32Z</updated>

		<summary type="html">&lt;p&gt;Updating to match new version of source page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;languages/&amp;gt;&lt;br /&gt;
Permissions can be created for all users groups, nesting is supported either,&lt;br /&gt;
for example, &amp;quot;item&amp;quot; which is not editable or which is not visible for some users can be created in &amp;quot;area&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===The following construction is used for creating the users groups===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; line&amp;gt;&lt;br /&gt;
&amp;lt;user-groups groups=&amp;quot;GROUP_NAME&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===For adding users to the users group the following construction is used===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; line&amp;gt;&lt;br /&gt;
&amp;lt;users&amp;gt;&lt;br /&gt;
        &amp;lt;USER1 groups=&amp;quot;GROUP_NAME&amp;quot; name=&amp;quot;USER1&amp;quot; password=&amp;quot;1111&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;USER2 groups=&amp;quot;GROUP_NAME&amp;quot; name=&amp;quot;USER2&amp;quot; password=&amp;quot;2222&amp;quot; permissions=&amp;quot;7&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;USER2 password=&amp;quot;2222&amp;quot; single-action=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/users&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Within the tag all the users, their groups are entered, name and password attributes are specified for each concrete user. single-action=&amp;quot;true&amp;quot; – the rules are applied only for one action (e.g. script activating)&lt;br /&gt;
&lt;br /&gt;
User attribute &amp;quot;permissions&amp;quot; is responsible for accessing the &amp;quot;Advanced&amp;quot; tab in settings, Edit mode and &amp;quot;Setup&amp;quot; room&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Bit number!!Description&lt;br /&gt;
|-&lt;br /&gt;
|0||Access to &amp;quot;Edit Mode&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|1||Access to &amp;quot;Advanced&amp;quot; tab&lt;br /&gt;
|-&lt;br /&gt;
|2||Access to &amp;quot;Setup&amp;quot; room&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Permissions parameter is used for restricting the access to the concrete element, for example===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; line&amp;gt;&lt;br /&gt;
&amp;lt;area name=&amp;quot;AREA_NAME&amp;quot; permissions=&amp;quot;*:ve-;USER1:ve+&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;item addr=&amp;quot;311:12&amp;quot; name=&amp;quot;LAMP31112&amp;quot; type=&amp;quot;lamp&amp;quot; permissions=&amp;quot;*:e+;USER1:e-&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/area&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this part of code is specified that AREA_NAME area is visible and editable for USER1,&lt;br /&gt;
&lt;br /&gt;
for all other users (in our case only USER2) it is invisible.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;item&amp;quot; of lamp type with LAMP31112 name which is located in &amp;quot;area&amp;quot; with AREA_NAME name has its own authorisation for a concrete user,&lt;br /&gt;
&lt;br /&gt;
it is specified in the code that &amp;quot;item&amp;quot; of lamp type with LAMP31112 name is visible for USER1 but USER1 cannot edit this &amp;quot;item&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
All other users (in our case only for user USER2) can both see and edit this item.&lt;br /&gt;
&lt;br /&gt;
===Permissions parameters and their description===&lt;br /&gt;
*&amp;quot;ve+&amp;quot; – is visible and can be edited&lt;br /&gt;
*&amp;quot;ve-&amp;quot; – is invisible and can’t be edited&lt;br /&gt;
*&amp;quot;v+&amp;quot; – is visible&lt;br /&gt;
*&amp;quot;v-&amp;quot; – is invisible&lt;br /&gt;
*&amp;quot;e+&amp;quot; – can be edited&lt;br /&gt;
*&amp;quot;e-&amp;quot; – can’t be edited&lt;br /&gt;
&lt;br /&gt;
edit-mode-users=&amp;quot;User1;User2&amp;quot; is to be added to &amp;quot;smarthouse&amp;quot; tag for setting mode password (interface 3).&lt;br /&gt;
&lt;br /&gt;
===Also you can use the password for the items to protect them from accidental clicking===&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; line&amp;gt;&lt;br /&gt;
&amp;lt;item addr=&amp;quot;311:12&amp;quot; name=&amp;quot;LAMP31112&amp;quot; type=&amp;quot;lamp&amp;quot; password=&amp;quot;1234&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
After setting the password, when you click on the &amp;quot;LAMP31112&amp;quot; item, the keyboard for entering the password appears to turn on/off the lamp.&lt;/div&gt;</summary>
		<author><name>FuzzyBot</name></author>
	</entry>
</feed>