From version 1.0.5 to 1.0.6
- Add DX_salt and DX_captcha_case_sensitive into config.
- Since now DX Auth do not use encryption_key in CI config to encode password.
If your encryption_key is not blank before this update, you need to change encode function in libraries/DX_Auth.php to DX Auth 1.0.5 version. - Overwrite libraries/dx_auth.php with the new one.
- Overwrite models/dx_auth/permissions.php with the new one.
From version 1.0.4 to 1.0.5
- Overwrite models/dx_auth/user_temp.php with the new one.
- Overwrite models/dx_auth/permissions.php with the new one.
From version 1.0.3 to 1.0.4
If you use is_role() function, be careful because in 1.0.4, $use_role_name parameter default is TRUE.
In previous version, $use_role_name parameter is defined as FALSE by default, even tough it was written as TRUE in documentation. So now it's fixed.
From version 1.0.2 to 1.0.3
Change function get_catpcha_image() to get_captcha_image(). Notice the first function is wrongly typed.
From version 1.0.1 to 1.0.2
Step 1: Update your roles table
Add parent_id field (int) not null default is 0, in roles table.
To add this column you will run a query similar to this:
ALTER TABLE `roles` ADD `parent_id` int(11) NOT NULL default '0'
See table anatomy to know more about this.
Step 2: Add permissions table
To add this table you will run a query similar to this:
CREATE TABLE `permissions` ( `id` int(11) NOT NULL auto_increment, `role_id` int(11) NOT NULL, `data` text collate utf8_bin, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
See table anatomy to know more about this.
Note: role_uri table will be abandonded, in 1.0.2 it will use this permission table.