Block access to any user to "my progress" page see BT#13703

Setting added: "block_my_progress_page"
pull/2487/head
jmontoyaa 7 years ago
parent 4919cf2d43
commit 1e4f1c570e
  1. 2
      main/auth/my_progress.php
  2. 3
      main/install/configuration.dist.php

@ -26,7 +26,7 @@ $(function() {
</script>"; </script>";
if (api_get_setting('show_tabs', 'reporting') == 'false') { if (api_get_configuration_value('block_my_progress_page')) {
api_not_allowed(true); api_not_allowed(true);
} }

@ -708,6 +708,9 @@ $_configuration['gradebook_badge_sidebar'] = [
// This service has a cost above 60 minutes of use. // This service has a cost above 60 minutes of use.
//$_configuration['translate_app_google_key'] = ''; //$_configuration['translate_app_google_key'] = '';
// Block access to any user to "my progress" page
//$_configuration['block_my_progress_page'] = false;
// ------ Custom DB changes // ------ Custom DB changes
// Add user activation by confirmation email // Add user activation by confirmation email

Loading…
Cancel
Save