Download MES User Manual - Inductive Automation

Transcript
Recipe / Changeover
443
See getChangelogHistory script function for more information.
4.1.8
Recipe Security
Recipe Value Security
The recipe value security uses Ignition's authentication roles to limit who can change what recipe values
by how much. Each recipe value can be set to specific security settings or it can inherit from its parent.
Like other recipes value settings, the security settings can propagate down multiple levels of inheritance.
Referring to the image below, the Inherit Security check box determines if the recipe value should use its
parent's security settings or break the inheritance. By unselecting the Inherit Security check box, the
settings for each authentication role can be made. Initially when doing so, the inherited security settings
will remain that of the parent until they are edited.
Recipe Value Security Settings
The recipe value security is verified when changing values using the recipe editor component, importing
recipes or changing values using script.
When changing a recipe value using the recipe editor component, importing recipe values or from client
script, the authentication role applied comes from the roles the currently logged in user belongs to. If the
user belongs to multiple roles then the role with the least security will be applied. For example, if a user
belongs to both the Operator and Maintenance authentication roles, then the least secure one will be
applied. If the Operator role can change the Product Pressure recipe value from 10 to 15 and the
Maintenance role can change it from 5 to 20, then the Maintenance role will apply.
When changing a recipe value from gateway script, the Administrator authentication role is always
applied.
The only place the recipe value security can be changed is by using the recipe editor component. Also, it
can only be changed in the default values area and not in the actual recipes. Wether or not the logged in
user can change the security settings can be controlled with the Enable Security Editing property of the
recipe editor component. This property can be bound to an expression to determine if the currently logged
in user belongs to authentication roles that are allow to edit security. Another approach is to create a
window that allows the recipe value security editing and restrict opening the windows based on
authentication roles the currently logged in user belongs to.
© Inductive Automation