Skip to main content
Version: 8.1

Component and Window Security

Inductive University

Component and Window Security

Watch the video

Role-based security inside of Vision works on multiple levels: component, group, container, and window levels. Each of these levels also have special categories of security that help with tuning security to various design considerations.

Each window and component can define its own security settings. These settings determine who can see and/or use the component. It's good business practice to have a well thought out security policy for your project.

Changing Security Settings on a Component​

By default, each component inherits the security that is on its parent which initially gives anyone with access to the project the ability to use the components. This can be changed on a per component basis by right clicking on the component and selecting Security. This brings up the Security Settings panel.

The Inherit Permissions checkbox signifies that the component is inheriting the security settings of the parent.

In the Restrictions section on the right, choose the restrictions that will be placed on the component if the user does not have the selected role. Multiple restrictions can be selected to combine their effects.

RestrictionUsed OnDescriptionImage
Access Denied OverlayComponentsShows an overlay on top of the component when the user doesn't have security clearance.Access Denied
DisableComponentsSets the Enabled property to false on the component when the window opens up.

Caution: If you choose to disable a component, make sure that it is a component that actually does something different when it is disabled. For example, buttons and input boxes can't be used when they are disabled, but disabling a Label component has no effect.
Disabled
Disable EventsComponents, Root ContainerPrevents event scripts from running when the user doesn't have security clearance.N/A
HideComponents, Root ContainerSets the Visible property to false on the component when the window opens up.Hidden
Do Not OpenThe Window ObjectOnly used on the window object itself, will prevent the window from opening if the user doesn't have one of the specified roles.N/A

Exempt Roles​

Unchecking the Inherit Permissions checkbox enables the role checkboxes under Exempt Roles. Each role that is selected will have access to the component. So if the Administrator role was checked, then all users with the Administrator role will be able to use the component, while users without the role would have Restrictions to the component. A user only needs to have one of the selected roles to be able to use the component, not all of them.

note

If the roles you created do not appear, it is probably because the Designer was open before those roles were created. To update the list of roles, right-click in the Exempt Roles section and select Refresh.