You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{translate text="By checking this box you are giving your consent to our {$consentType['label']}. Aspen Discovery will send your consent information to Koha, where it will be stored. You can return to this page to update your consent at any point."}
137
+
{translate text="By checking this box you are giving your consent to {$consentType['actionConsentedTo']}. You can return to this page to update your consent at any point."}
Copy file name to clipboardexpand all lines: code/web/release_notes/25.02.00.MD
+3-1
Original file line number
Diff line number
Diff line change
@@ -25,14 +25,16 @@
25
25
26
26
- For libraries that use Koha as their ILS, and use the koha-plugin-newsletter-consent plugin
27
27
- Administrator with the permission to edit library settings will be able to toggle on/off the 'Enable ILS-issued consents' setting under the 'Data Protection Regulations' section. (*CZ*)
28
+
- if the Koha plugin has not been installed and enabled in Koha, then the 'Enable ILS-issued consents' setting will not appear as it requires the plugin to be installed and enabled. (*CZ*)
29
+
- if the Koha plugin is uninstalled or disabled in Koha while 'Enable ILS-issued consents' is toggled on, 'Enable ILS-issued consents' will still display. (*CZ*)
28
30
- If 'Enable ILS-issued consents' is enabled:
29
31
- the 'Privacy Settings' options will appear in patron side menus. (*CZ*)
30
32
- In the self-registration form, under a ‘Privacy’ section, patrons need to see information about the consent types set by their library in Koha. For example, they may be given the opportunity to receive the library’s newsletter. (*CZ*)
31
33
- Patrons will be able to choose to opt in, which implies that consent is not assumed by default. (*CZ*)
32
34
- Patrons will be able to submit their consent along with their registration form. (*CZ*)
33
35
- Patrons will be sent to Koha, where it is stored. (*CZ*)
34
36
- Patrons will be able to view and change their consent information (as retrieved from Koha) at any point through the ‘Your Account > Privacy Settings ’ section. (*CZ*)
35
-
37
+
- If ILS consent is enabled in the Aspen settings, but the Koha plugin is disabled or uninstalled, patron will see an informative message in 'Privacy Settings'. (*CZ*)
Copy file name to clipboardexpand all lines: code/web/services/Admin/Libraries.php
+22
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,28 @@ function getObjectStructure($context = ''): array {
70
70
if (!UserAccount::userHasPermission('Administer All Libraries')) {
71
71
unset($objectStructure['isDefault']);
72
72
}
73
+
global$library;
74
+
$accountProfile = $library->getAccountProfile();
75
+
if (!$accountProfile || empty($accountProfile) || !isset($accountProfile->driver)) {
76
+
return$objectStructure;
77
+
}
78
+
79
+
// if 'Enable ILS-issued consents' is not already toggled on, prevent administrators from seeing it (and toggling it on) if no consent plugins are installed and enabled in Koha
$logger->log("Patrons Privacy Settings: Patrons cannot view and update their consents as the $pluginName plugin is $statusDescription", Logger::LOG_ERROR);
32
+
33
+
$messages = [];
34
+
$messages[] = [
35
+
'message' => 'Other consent options are enabled but cannot be shown here due to a technical issue. Please contact your library.',
0 commit comments