From 22afc8eab5ac27d3edaee77826ca9f5c64e9504f Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos <1697880+AngelFQC@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:42:15 -0500 Subject: [PATCH] Plugin: Azure: Bump version to v2.4 - refs BT#21930 --- plugin/azure_active_directory/CHANGELOG.md | 21 +++++++++++++++++++ .../src/AzureActiveDirectory.php | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/plugin/azure_active_directory/CHANGELOG.md b/plugin/azure_active_directory/CHANGELOG.md index 8185067329..cb19ecdeb9 100644 --- a/plugin/azure_active_directory/CHANGELOG.md +++ b/plugin/azure_active_directory/CHANGELOG.md @@ -1,5 +1,26 @@ # Azure Active Directory Changelog +## 2.4 - 2024-08-28 + +* Added a new user extra field to save the unique Azure ID (internal UID). +This requires manually doing the following changes to your database if you are upgrading from v2.3 +```sql +INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, default_value, field_order, visible_to_self, visible_to_others, changeable, filter, created_at) VALUES (1, 1, 'azure_uid', 'Azure UID (internal ID)', '', 1, null, null, null, null, '2024-08-28 00:00:00'); +``` +* Added a new option to set the order to verify the existing user in Chamilo +```sql +INSERT INTO settings_current (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext, access_url, access_url_changeable, access_url_locked) VALUES ('azure_active_directory_existing_user_verification_order', 'azure_active_directory', 'setting', 'Plugins', '', 'azure_active_directory', '', '', '', 1, 1, 0); +``` +* Added a new option to update user info during the login proccess. +```sql +INSERT INTO settings_current (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext, access_url, access_url_changeable, access_url_locked) VALUES ('azure_active_directory_update_users', 'azure_active_directory', 'setting', 'Plugins', '', 'azure_active_directory', '', '', '', 1, 1, 0); +``` +* Added new scripts to syncronize users and groups with users and usergroups (classes). And an option to deactivate accounts in Chamilo that do not exist in Azure. +```sql +INSERT INTO settings_current (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext, access_url, access_url_changeable, access_url_locked) VALUES ('azure_active_directory_tenant_id', 'azure_active_directory', 'setting', 'Plugins', '', 'azure_active_directory', '', '', '', 1, 1, 0); +INSERT INTO settings_current (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext, access_url, access_url_changeable, access_url_locked) VALUES ('azure_active_directory_deactivate_nonexisting_users', 'azure_active_directory', 'setting', 'Plugins', '', 'azure_active_directory', '', '', '', 1, 1, 0); +``` + ## 2.3 - 2021-03-30 * Added admin, session admin and teacher groups. This requires adding the following fields to your database if diff --git a/plugin/azure_active_directory/src/AzureActiveDirectory.php b/plugin/azure_active_directory/src/AzureActiveDirectory.php index 053e4aba4f..454150986e 100644 --- a/plugin/azure_active_directory/src/AzureActiveDirectory.php +++ b/plugin/azure_active_directory/src/AzureActiveDirectory.php @@ -59,7 +59,7 @@ class AzureActiveDirectory extends Plugin self::SETTING_DEACTIVATE_NONEXISTING_USERS => 'boolean', ]; - parent::__construct('2.3', 'Angel Fernando Quiroz Campos, Yannick Warnier', $settings); + parent::__construct('2.4', 'Angel Fernando Quiroz Campos, Yannick Warnier', $settings); } /**