/
Enable private file system and allowed files extensions
Opigno LMS User manual
Enable private file system and allowed files extensions
For security reasons Opigno LMS using a private file system to check if a user has related permission to download a particular file. For example, answers for "Opigno file upload" activity type should be accessible only for users who create these answers and users with global role "Content manager" etc.
The private files system is not configured out of the box so need to be done these steps to configure it:
- If you have already installed Opigno LMS instance go to admin/reports/status and make sure there are no related errors or warnings. In addition, you should see "Private file system path is set" for requirement "Private Files System". If you don't see this message see next step.
- How to set a private system path: https://www.drupal.org/docs/8/core/modules/file/overview#content-accessing-private-file
To manage the allowed extensions for the "File upload" activity, you will have to edit these 2 config files:
- modules/opigno/opigno_module/ActivityTypes/opigno_file_upload/config/optional/field.field.opigno_answer.opigno_file_upload.opigno_file.yml
- modules/opigno/opigno_module/ActivityTypes/opigno_file_upload/config/optional/field.field.opigno_activity.opigno_file_upload.opigno_allowed_extension.yml
and then re-import them (at /admin/config/development/configuration/single/import)
, multiple selections available,
Related content
Enabling e-commerce features
Enabling e-commerce features
Read with this
Understanding Opigno SCORM management
Understanding Opigno SCORM management
Read with this
Upgrade to 3.2.x release (Drupal 10)
Upgrade to 3.2.x release (Drupal 10)
More like this
How to run unit tests
How to run unit tests
Read with this
Integrating Opigno with a Learning Record Store (LRS)
Integrating Opigno with a Learning Record Store (LRS)
Read with this
Setup your Opigno instance for the mobile app
Setup your Opigno instance for the mobile app
Read with this
Copyright 2008-2024 Connect-i. All Rights Reserved - https://www.opigno.org