Security in Modes

Security can be assigned to a certain mode of a Transaction. That is why exists four properties (one for each mode), where user can assign the functionality key.

In the case it leaves the field empty, user will be able to access to the transaction in that mode when some of the roles it has assigned is able to access to Transaction itself. This happens when the functionality set in the property "Security Functionality Key" is associated to that role.

In the example below, when mode is Display user will be able to access to Person in display mode when it has a role which has access to functionality WWPerson. But in order to create a record, modify or delete one it will have to get permission of the functionalities WWPerson_Insert, WWPerson_Update and WWPerson_Delete

SecurityInModesImg01

Another example could be grouping modes insert and update in one functionality, separately from delete for Person transaction. This has sense because a user that is allowed to insert a record maybe should be allowed to update them, but user allowed to delete records could be a user with a higher level of permissions. In order to do this, you could set the security functionalities like follows:

SecurityInModesImg02

Finally, other example of grouping modes fuctionalities could be grouping all modes insert and update of all transactions in one functionality, separately from delete. This could be useful if you already know that you will have a role which will be able to insert and update records from all transactions, and another role will be able to delete records also. In order to do this, you could set the security functionalities like follows:

SecurityInModesImg03

And these values of functionalities will be the same for all the transactions:

SecurityInModesImg04

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: Update Advanced Security Funcionalities