Edit Context Permissions

Top  Previous  Next

Edit Context Permissions is a Configure action that is used to define which LinkServer users have access to a given context. The context permissions table has two fields:

User

Name and description of user account

Permissions

The permission level the user has for the current context

The table is not permanently stored on the server. It is generated on-the-fly when the Edit Context Permissions action is executed.

To generate this table, LinkServer reads the permission tables of all users in the system. If the permission level of a particular user for  the current context is greater than None, a new record is added to the context permissions table, with the fields specified above (user and permissions).

note_further-wt

The current user (whose username and password you are using to access this action) is not shown in the context permissions table, because a user may not modify his own permissions.

You can add new records to the context permissions table while editing it, thus allowing new users to access this context.

When the context permissions table is saved, it is not stored "as is" on the server. Instead, the server modifies the permission tables of individual users according to the permissions defined in the table being saved.

This action is accessible at Admin permission level.

Example

Let's say the initial user permissions table for the user john looks like this:

ls_actions_contextperms

Next we execute the Edit Context Permissions Action from users.admin.alerts.water_level_warning (this context represents a "Water Level Warning" alert that is registered under the admin account). We'll see a permissions table similar to this:

ls_actions_contextperms2

This particular table shows two users with access to this alert: the newadmin user has administrative access and and test user has normal level of access. The admin user also has some permissions but we don't see them here because that's the account we're using right now.

Next we'll add a new record to context permissions table. Select john in the User field and User in Permissions field. The table should look like this:

ls_actions_contextperms3

Next we'll save the changes and open the user permissions table for john again. We see that the table was modified so that he now has access to the "Water Level Warning" alert:

ls_actions_contextperms4

Now john has access to the "Water Level Warning" alert. He can see, configure and use it, for example, using the System Tree of AggreGate Client:

ls_actions_contextperms5

See Security and Permissions for more info.