User Tools

Site Tools


managing_users

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
managing_users [2018/11/26 21:40] akuzmukmanaging_users [2023/04/25 13:30] (current) – [Attaching roles to users] emozolyak
Line 1: Line 1:
 +{{  network:menu-icon-users.png?nolink&60}}
 ====== Managing users ====== ====== Managing users ======
  
-In WebHMI, there is a mechanism for managing users and their roles. On a new device, one admin user and three roles are configured by default: 
  
-  ***Admin** - can perform any actions in the project +===== Roles and users concept =====
-  ***Operator** - can use the ready project to change the values ​​on the dashboard and access only to allowed pages of the project +
-  ***Read-only user** - can only view the project running +
  
-Admin can add as many roles and users as needed. Users management page is located at **Configuration->Users** page. There is also button for switching to the role editing page.+In WebHMI, there is a mechanism for managing users and their roles. The roles give or forbid access to certain project parts, while the users are binded to these roles. 
 +{{ network:user_roles.png?direct&600 |}}
  
-{{setup_users_new.png?direct}}+You can access the user setup from pop-up menu (for 3.6 and higer fw) 
 +{{ network:setup_menu_newest_users_entry.png?nolink |}}
  
-{{ ::roles_list.png?direct&500 |}}+Or from the side menu (for 3.5 and lowe fw)
  
-The user can specify a name, a password and a home page:+{{ network:setup_users_new.png?direct&800 }}
  
-{{ edit_user.png?direct&500 }} 
  
-For each roleyou can add permissions for accessing parts of the project for viewing or editing. The following is an example of setting up predefined role "Operator":+===== Managing roles ===== 
 + 
 +On a new devicethere are 3 roles configured by default: 
 + 
 +{{ network:roles_list.png?direct&500 |}} 
 + 
 +=== Admin role === 
 + 
 +Can perform any actions in the project.  
 +<wrap em> This role with id = 1 can not be deleted from the project and only one property can be changed - its title.  </wrap> 
 + 
 +{{ network:edit_admin_role.png?direct&400 |}} 
 + 
 +=== Other roles === 
 + 
 +The non-admin roles (id <> 1) can be freely configured. In the scratch new project there are 2 pre-configured roles for your convenience. 
 + 
 +  ***Operator** - can navigate most of the project and change values ​​on the dashboards 
 +  ***Read-only user** - can only view the project (can't change anything) 
 + 
 +== Role configuratin page == 
 + 
 +{{ network:role_edit_example.png?direct&300 |}} 
 + 
 +===== Managing users ===== 
 +<wrap em> As in case with the roles, there is a static "admin" user with id = 1 who can not be deleted. Only these attributes for him can be changed: </wrap> 
 + 
 +{{ network:admin-1_edit_possibilites.png?direct&600 }} 
 +Admin can add as many roles and users as needed in your project.  
 + 
 +==== Attaching roles to users ==== 
 + 
 +When editing user properties, the roles which users use are in the list's top:  
 + 
 +{{ :users:user-props-asof-40-roles-highligted.png?direct&800 |}} 
 + 
 +The other optoins will be described further:  
 + 
 +=== Screencast mode === 
 + 
 +In this mode, the page which is the logged in user will see, can be set via the URL link written to dedicated register in the system. More on this in this [[screencast|article]] 
 + 
 +=== Disable menu use === 
 +The user won't be able to access the side bar and setup menu neither via hot key (~) nor via interface navigation elements. You should provide link to the necessary project parts right in your project.  
 + 
 +=== Use server time === 
 +The pages WebHMI's server provides may use server's or local (client browser's) time. The former is the default setting which will show correct date & times for client's different time zones. E.g. when you are located in the country that is 6 hours ahead of the WebHMI's time, you'd scroll time 6 hous back, becuase right in the moment, there is no data according to local time.  
 + 
 +=== Add Registers to the side menu === 
 +The //Registers// are most popular project part during project development & commissioning. You can make it available in the side bar with this setting
 + 
 +=== Home page === 
 + 
 +This is page  user land when he logs in. Please check the user'role allows the user to access this page, otherwise he won't be able to enter. 
 + 
 +=== Auto close unattended user session === 
 +When working in a “multitasking” mode, most users open and leave “for ever” a lot of open tabs at the same time – this is more practical than constantly opening and closing the same tab. They are often opened from different devices. However, the system continues to exchange data with the browser, even if the user does not look at the page for several days. This subtle “trickle” can become a “stream” in a multiuser system, and also create unnecessary load on the system. 
 + 
 +Now, in the user settings, you can set an idle timeout after which the exchange of data with the page will automatically stop and resume after the page is refreshed. 
 + 
 +{{ network:user_idle_setting.png?direct&600 |}} 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 +===== Guest user ===== 
 + 
 +In some cases, you may want to avoid users using keyboard for entering the WebHMI: 
 +  * The project is indended for automatic event driven user interface change, when the user interacts with the touch panel or monitor without input devices like keyboard or mouse, and the only thing he can do is to press some button on the screen 
 +  * you want to quickly create a "Read onlyusers and share your project for demonstration to everyone 
 +  * other similar scenarios 
 + 
 +{{ network:guest_page_.png?direct&800 |}} 
 + 
 +Then, the login page for the users will look like: 
 + 
 +{{ network:guest_login.png?direct&400 |}} 
 + 
 +Click //Login into system// for standard login page.
  
-{{edit_role_all.png?direct}} 
  
  
managing_users.1543268401.txt.gz · Last modified: 2018/11/26 21:40 by akuzmuk

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki