Index
Service table
Although it maintains the same table structure, it is important to highlight three fields.
- seclvl
- Security level. This is a number from 1 to 5 that indicates the degree of privacy that
the service must have, which is inherited by its corresponding subservices; 5 is the
highest level and assigned to the system, 4 if it is accessible to administrators, 3 if it
can be accessed by logged-in users, and 2 if it can be accessed by unknown users.
- privileged
- Indicates whether the service is accessible only to super administrators (privileged administrator) or not. This same flag is available in the subservice tables.
- actions
- Actions that can be executed in the service. These are global and are regulated by
those specified in the system configuration. Likewise, the actions that the user may
have access to depend on these.
In other words: While the actions defined in the configuration (config.actions) define the actions that will be available in the system, the actions defined in the services and subservices (service.actions and subservice.actions) indicate the actions that are available to administrators; In turn, these themselves define which ones will be available for user profiles (userprofile_service.actions and userprofile_subservice.actions).