Step 2 - Update Security objects registries in DB

This step is only needed for versions of WorkWithPlus 9.1 or lower

This first time, as well as all the times that you make changes to WorkWithPlus Security Settings (association of functionalities and objects), after compiling the application you have to apply this changes in the DataBase (records in the tables must be updated).

In order to do this, you should Run (build and execute) the program SecUpdateAdvancedSecurityObjects:

Step2UpdateSecurityObjectImg01

Step2UpdateSecurityObjectImg02

In this WebPanel you can Grant full access to Admin role, defining which role is administrator and also assign administrator role to some administrator user (defining which user is administrator). It will create a new role if not exists, and the same for user.

If you define "Administrator" as User Name, it will assign this value into UserName and its password.

After doing this, administrator user can log in into the application and manage all the other roles (creating new ones) and the functionalities assigned to each one.

This WebPanel it is just a way to help developer assign all the fuctionalities to an administrator role, but should be used internally, the first time you run the application and when some configurations of security functionalities changes in GX, but shouldn't be accesed in production.

If you have already created an administrator Role, and this Role has full access to all functionalities, it is not necesary to select the first check box, but the new functionalities will not be assigned to anyone (you could do this by yourself by Assign fuctionalities to Roles).

And if you have already set to a certain user the   administrator role, you will not need to assign administrator Role to user (the second check box). So, this second check box will not be necessary after you have a user with the role of administrator assigned.

Now its time that the application administrator at runtime, configure for each role its functionalities. In order to do this, it should follow the instructions explained in Assign fuctionalities to Roles