|
TRIPsystem Kernel API 8.4
|
Database access record. More...
#include <tripapi_types.h>
Public Attributes | |
| char | all_access |
| char | field_access [1000] |
| char | read_scope [400] |
| char | sel_access |
| char | write_scope [400] |
Database access record.
Each element of the database access record ( except the scope fields ) are made up using a bit mask as follows :
| Bit Nr | Description |
|---|---|
| bit 0 | read access |
| bit 1 | write access |
Thus, to give full read only access, set all_access to 1. To give full read and write access, set all_access" to 3. If any bits in sel_access are set, the field_access array is read, each element of the array corresponding to the access rights to a particular field in the database.
| char base_access_rec::all_access |
Unrestricted access to all fields
| char base_access_rec::field_access[1000] |
Fields to be given access
| char base_access_rec::read_scope[400] |
CCL command defining read scope
| char base_access_rec::sel_access |
Restrict access to certain fields
| char base_access_rec::write_scope[400] |
CCL command defining write scope