User Management Commands¶
The ‘User Management UI’ plug-in provides commands for command category ‘User Management’.
These are used for: \ \ \
- Configuration of access rights on the project objects
- Logging on or off to/from the project via a defined user account in order to get the access rights which are associated to this account
The configuration of user accounts and groups is done in the Project Settings subdialog User Management Project Settings - Users and Groups.
By default the following commands are part of submenu ‘User Management’ in the ‘Project’ menu: Logon, Logoff, Permissions.
Logon
Symbol:
This command opens the Logon dialog for logging on to a project or library via a defined user account.
Logging on with a certain user account means to log on with those object access rights which are granted to the group which the user belongs to. The configuration of user accounts and groups is done in the Project Settings subdialog User Management.
To log on select the project or an included library from the selection list in the Project/Library field. Enter User name and Password of a valid user account, noticing that each project or library has an own user and access rights management. Log on with OK.
If already another user is logged on the project, this one will be logged out automatically by the new log-on action.
When you are logged on to a project or library and try to perform an action for which you have no right, automatically a Logon dialog will be opened, giving the possibility to log on with another user account provided with the appropriate rights.
The status bar always displays which user currently is logged on the project.
Logoff
Symbol:
This command logs off the currently logged on user. If no user had been logged on to the currently opened project or to a referenced library an appropriate message will appear when trying to log off.
If the user currently is logged on to more than one project or referenced library (not necessarily with the same user account) a Logoff dialog will appear when trying to log off.
From the Project/Library selection list choose those project/library for which you want to log off. The name of the Current user is displayed just for information.
The status bar always displays which user currently is logged on the project.
Permissions
This command opens the Permissions dialog, where the rights to work on objects or to perform commands in the current project can be configured.
Note
Any changes made in this dialog will be applied immediately.
The Actions window displays all possible rights, that is all actions which might be performed on any object of the current project.
The tree is structured in the\ following way: \ \ \
Top-level see the names of some categories, which have been set up just for the purpose of optical structuring the rights management.
They are grouping concerning the execution of Commands, the configuration of User accounts and Groups, the creation of Object Types, the viewing, editing, removing and handling of child objects of Project Objects.
Below each category node there are nodes for the particular actions which might be performed on the command, user account, group, object type or project object. These nodes also only have optical function. Possible Actions:
- execute (execution of a menu command)
- create (creating a new object in the current project)
- add or remove children (adding or removing of “child” objects to an existing object)
- modify (editing an object in an editor)
- remove (deleting or cutting an object)
- view (viewing an object in an editor)
Below each action node find the possible targets, that is project objects, of the respective action.
The Permissions window provides a list of all currently available user groups (except the “Owner” group) and a toolbar for configuring rights to a group.
Select the group and configure it´s permissions.
Left to each group name one of the following icons indicates the currently assigned permission concerning the target which is currently selected in the Actions window:
: The action(s)
for the target(s)
currently selected in the Actions window are granted for the selected group.
: The action(s)
for the target(s)
currently selected in the Actions window are denied for the selected group.
: The right to perform the action(s)
which are currently selected for the selected target(s)
in the Actions window, has not been granted explicitly, but is granted by default, for example because the corresponding right has been granted to the “father” object. (Example: The group has got the right for object “myplc”, thus it by default it also has got it for object “myplc.pb_1”. ) Basically this is the default setting for all rights which not explicitly have been configured.
: The right to perform the action(s)
which are currently selected for the selected target(s)
in the Actions window, has not been denied explicitly, but is denied by default, for example in case because the corresponding right has been assigned to the “father” object.
If currently multiple actions are selected in the Actions window, which do not have unique settings referring to the currently selected group, no icon will be displayed.
To configure the rights for a group select the desired action(s) and target
in the Actions window and the desired group in the Permissions window. Then use the appropriate button in the toolbar of the Permissions window:
: Explicit granting.
: Explicit denying.
: The currently granted right for the action(s) currently selected in the Actions window will be deleted, that is set back to the default.