Working with RBA
Many applications contain information that is not for everybody. Role based access is one of the solutions to limit access to PHsPeed modules. This manual describes how you can setup a full RBA module, including Multi Factor Authentication.
PHsPeed has implemented two different RBA strategies. The most simple one is just a simple login that you can use to open up an application. It can be set up with a simple login form and calls a simple login function. The support for this method is because we used it in an older version of PHsPeed. We advise you to use the second option.
The second option is to use the complete RBA module containing users, user groups, etc. It allows you to specify what a group of users is allowed to do, have access to a module, and if they are allowed to select data, update, delete or insert records.
The data structure of the RBA module is as follows:
If you want to use the complete RBA module but don't need multiple groups, you can create a 'generic' group and assign all your applications and users to this one group.
You can import a set of predefined applications from the application vault to maintain your security module and pick a login template of your choice. It also contains modules for user registration, forgotten passwords, and more. A better option (PHsPeed version 2.1+) is to use the RBA module from the menu and generate these applications.
PHsPeed also allows you to set up row-based security, which works outside this RBA module. You define that in the static filter property of the DBTable.