Internal: Add config for "access_to_personal_file_for_all" - refs BT#21826

pull/5654/head
christianbeeznst 1 year ago
parent 9300bcb473
commit f9496feee6
  1. 6
      src/CoreBundle/DataFixtures/SettingsCurrentFixtures.php
  2. 2
      src/CoreBundle/Settings/PlatformSettingsSchema.php

@ -2132,6 +2132,12 @@ class SettingsCurrentFixtures extends Fixture implements FixtureGroupInterface
'title' => 'Webservices return user field',
'comment' => "Ask REST webservices (v2.php) to return another identifier for fields related to user ID. This is useful if the external system doesn't really deal with user IDs as they are in Chamilo, as it helps the external system match the user data return with some external data that is know to Chamilo. For example, if you use an external authentication system, you can return the extra field used to match the user with the external authentication system rather than user.id.",
],
[
'name' => 'access_to_personal_file_for_all',
'title' => 'Access to personal file for all',
'comment' => "Allows all users to access, view, and manage their personal files within the system.",
],
],
'language' => [
[

@ -91,6 +91,7 @@ class PlatformSettingsSchema extends AbstractSettingsSchema
'redirect_index_to_url_for_logged_users' => '',
'default_menu_entry_for_course_or_session' => 'my_courses',
'notification_event' => 'false',
'access_to_personal_file_for_all' => 'false',
]
)
->setTransformer(
@ -282,6 +283,7 @@ class PlatformSettingsSchema extends AbstractSettingsSchema
]
)
->add('notification_event', YesNoType::class)
->add('access_to_personal_file_for_all', YesNoType::class)
;
$this->updateFormFieldsFromSettingsInfo($builder);

Loading…
Cancel
Save