User Permissions

The user permissions implemented by InfoAsset Manager are designed to prevent users from accidentally making changes to data they should not be editing.

A set of simple user access permissions can be applied at database level, group and individual action level.

With access permissions activated the following types of InfoAsset Manager user are available:

Note: Because permissions are assigned at group level and not to a specific software product, every role will be available for selection, even if it does not necessarily apply to your software product.

Model Owners, Asset Owners and Asset Users are also Database Users and have read-only access to groups that they do not own. The level of restriction on viewing of data depends on the Default permission setting in the Users and Permissions Dialog:

Note: User roles for a Asset Group are viewed in the Properties Dialog of the group. Note that the properties dialog will only display user roles that have been specifically appointed to that group and will not display user roles of parent groups. For example, if parent Asset Group A with owner 'user1' has a sub Asset Group B, 'user1' will only appear in the properties dialog for A although 'user1' will also have full edit powers over B.

Using user permissions

All changes to user permissions are made from within InfoAsset Manager.

You can check whether user permissions are activated or not on the InfoAsset Manager About Box. It will also tell you who the Database Owners are, and if the current user is a Database Owner.

When user permissions are activated, you can tell who owns a particular Asset Group by right clicking on the group and choosing Properties from the popup menu. Then change to the Owners Page of the dialog.

Tip: The properties dialog of a "child" group will only display owners that have been specifically appointed to that group and will not display owners of any parent groups. Owners of parent groups will also have full edit rights over the child group.

Enabling user permissions

User permissions are turned on or off for the current on-premise database using the Users and Permissions dialog, displayed by selecting the Database managementUsers and permissions option on the File menu. Only a Database Owner can turn user permissions off.

Information about the current on-premise database is recorded in the registry. This information is retained between InfoAsset Manager sessions, so you continue working with the same database next time you start InfoAsset Manager. The registry information is only changed when you open a different on-premise database.

You can run more than one instance of InfoAsset Manager on the same machine, but all of the instances must be using the same database. If you try to work with two databases at once the registry keys will become confused and you will have problems in several areas like running simulations. The simulation engine is a separate program that looks in the registry to find information about the current database.

Details of the current database can be found in the InfoAsset Manager About Box.

Check Implement users and permissions in this database in the dialog to enable user permissions.

There are a number of database-wide settings that, by default, can be edited by all database users. These global settings can be protected, allowing only edits by Database Owners to be saved. Check the Only database owners can change database-wide settings option to restrict editing of global settings to Database Owners. (This option is only enabled if user permissions are turned on.) With this option checked the OK button on the following dialogs will be disabled for all users that are not Database Owners:

Use the Default permission is: dropdown to set the default permission for all objects in the database for Database Users that do not have specific roles specified. The options are:

You can check on the current status of User Permissions by looking at the InfoAsset Manager About Box.

Adding users to the database

Only a Database Owner can add or remove users from the database or change the privileges of a current user.

  1. With user permissions activated, choose Database management then Users and permissions from the File menu. This displays the Users and Permissions dialog.
  2. To add a new user, type the user name in the Username box of the New User section and click the Add button.

    InfoAsset Manager uses login names to identify users, so the name typed in must match the name the user uses to log in to the computer or network.

  3. By default, users are added with Database User privileges. You can add, or remove, Database Owner privileges by checking or unchecking the tick box next to the user's name.
  4. To remove a user from the list completely, highlight their name on the users list and then click the Remove button.

The Database Owner who is editing User Permissions cannot alter their own permissions. They will remain as a Database Owner.

Adding a Windows group as a Database User

It is possible to add a Windows group as a Database User. Users who are members of such a Windows groups will automatically inherit the roles assigned to the group for relevant groups in the tree, in addition to the roles assigned specifically for the user.

To add a Windows group as a user, type the group name within square brackets e.g. [User-Group-1]. All users and groups must be in the same domain, which is the domain of the computer.

Adding Owners to Asset Groups

Users must be added to the database as Database Users before they can be given control of Asset Groups.

Only a Database Owner can give users control over a Asset Group.

To make an existing Database User a Asset Group Owner

  1. If no Explorer Window is open, choose New Explorer window from the Window menu to open an Explorer Window of the current database
  2. Right click on the Asset Group and choose Advanced, then Edit group permissions from the popup menu to display the Edit Group Permissions dialog OR Manage user permissions from the popup menu to display the Manage User Permissions dialog.
  3. Owners can be added or removed from these dialogs.

The Edit Group Permissions dialog is used to view and set permissions on a selected asset group for multiple users.

The Manage User Permissions dialog is used to view and set permissions of a selected user for multiple asset groups within the database.

A Asset Group can have any number of owners. Owners have full rights over the group, and over other Asset Groups contained within the group. Additional owners may also be added to "child" groups.

When do changes take effect?

If a Database Owner makes changes to InfoAsset Manager user permissions, these changes will not be applied to users who are currently using the database until they exit InfoAsset Manager and open the application again.

Permissions for existing databases

When using an existing database for which permissions are currently disabled, any user can turn on User Permissions for that database.

The user turning on permissions for the first time is automatically added as a Database Owner. This prevents a situation where nobody has ownership of the database and all potential users are locked out.

Getting the database identifier

In the event that it is necessary to reset user permissions for a database, it is possible to grant a user administrator access to a database via an emergency reset file.

An emergency reset file can be obtained from Innovyze. In order to generate the reset file, database identifier and user name information will be required.

If the user has access to the database, the database identifier can be obtained by opening the database and looking in the Additional Information section of the About Box.

If the user does not have access to the database, the database identifier can be obtained by the following steps:

Resetting permissions

In the event that it is necessary to reset user permissions for a database, it is possible to grant a user administrator access to a database via an emergency reset file.

An emergency reset file can be obtained from Innovyze. In order to generate the reset file, database identifier and user name information will be required.

In order to apply the emergency reset file to a database and grant administrator access to a user:

Network role-based write permissions

In addition to the user permissions described above, there is another type of permission that can be granted to asset network users by database owners. These permissions apply to the whole database or to a specific asset network only. Such permissions are associated with network roles, allowing database owners to place restrictions on certain users. Users can be prevented from creating and deleting network objects, as well as from writing to particular fields.

Tip: Note that these network roles are applicable to asset network users only.

These permissions can only be implemented for databases where network roles have been enabled. This is achieved by enabling the Implement network roles for asset networks in this database option of the Users and Permissions Dialog. The assignment of one or more network roles per user is carried out by database owners in the Users and network roles Dialog, which is accessible via the Database managementUsers and network roles option of the File menu. Roles are configured in the Network roles and write permissions dialog that gets displayed when the Network roles button is clicked in the Users and network roles dialog. All InfoAsset Manager data still remains visible to all users but with the use of these network roles, certain fields and the creation/deletion of network objects can be restricted.