Show/Hide Security for Variables

Show/Hide Security for variables is useful when you have some variables that can be visible just by some group of users (grouped in one or more roles). So, you will enable this kind of security for each variable needed, just by changing the property 'Show/Hide Security Functionality Key'.

WorkWithPlus will automatically verify if some user has permission to visualize it, and in case it doesn't have permission the variable will be hidden in the WebForms where it is included.

If you have a Panel which only contains attributes and variables, and all of those attributes and variables have Show/Hide security enabled, WorkWithPlus will automatically hide the panel when some user do not have permission to visualize any of the attributes or variables within that Panel. And it analogous with Tabs, if you have a Tab which only contains attributes and variables, and all of those attributes and variables have Show/Hide security enabled, WorkWithPlus will automatically hide the tab when some user do not have permission to visualize any of the attributes or variables within that tab. View an example of Tab and Panel

In order to enable Show/Hide Security to some variable you have to add the name of the permission wanted to the variable node:

ShowHideSecurityForvariablesImg01

It is important to have in mind that every time that we change some 'Security Functionality Key' and we want to impact these changes in the application at runtime, we have to follow the steps of the section Update Security Functionalities of Advanced Security or GAM (depending on the Security that we have enabled):


Then, after following the steps above and making build all, you can visualize the changes at runtime (the security for variables using Advanced Security or GAM is the same from developers point of view, the only difference is that they use different objects in order to configure the permissions of each role).

At runtime, it will be created a new permission named 'WebPanelTest_CompanyName', and the variable will be hidden in the same way as the attributes (when they have show/hide security enabled).