I2CE User Access
From IHRIS Wiki
The is is default authentication mechanism used by the iHRIS Suite.
Configuration
To use the default user authentication, you need to enable the module and possibly set an initialization string.
Enabling the Module
To enable, just make sure you have: <source lang='xml'>
<requirement name='UserAccess'> <atLeast version='4.0'/> <lessThan version='4.1'/> </requirement>
</source>
Initialization String
The initialization string is sent to I2CE::initialize() in the index.php
Database Structure
It uses the following tables in your database:
- access. The table which associates a user's id to its role. It has the following columns:
- user: int(11)
- role: varchar(255)
- user The list of all user's known to the iHRIS Suite. It has the following columsn:
- id: int(11)
- username: varchar(20)
- password: varchar(50)
- firstname: varchar(50)
- lastname: varchar(100)
- email: varchar(100)
- creator: int(11) the user id that created this account
In addition, the table user_log keeps track of the user activity.