Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Site admin presets: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 11: Line 11:
*I want to load administration presets
*I want to load administration presets
*So I can easily switch between different site admin configurations
*So I can easily switch between different site admin configurations




 
 
This feature is implemented by the third-party plugin [https://moodle.org/plugins/block_admin_presets Admin presets], created by David Monllaó and maintained by developers from [https://pimenko.com/ Pimenko].
This feature is partially implemented by the third-party plugin [https://moodle.org/plugins/block_admin_presets Admin presets], created by David Monllaó and maintained by developers from [https://pimenko.com/ Pimenko]. The current version of the plugin lets admins import/export admin settings but, for the minimalist Moodle project, some extra information, such as the list of enabled/disable plugins, should be added too.


This project is about adapting this third-plugin for getting it integrated into Moodle LMS. 
This project is about adapting this third-plugin for getting it integrated into Moodle LMS. 
Line 23: Line 24:
* The “Auto exclude sensitive settings” setting should be checked by default.
* The “Auto exclude sensitive settings” setting should be checked by default.
** The tool_admin_presets setting should be reviewed to confirm it includes all the sensitive settings that have been added recently.
** The tool_admin_presets setting should be reviewed to confirm it includes all the sensitive settings that have been added recently.
* Presets should also include plugins visibility in order to let admins export/preview/load the list of plugins and their visibility.
* Presets should also include plugins visibility in order to let admins export/preview/load the list of plugins and their visibility (the original third-party plugin only includes settings).
* Moodle LMS should include, by default, 2 site admin presets, Lite and Full.
* Moodle LMS should include, by default, 2 site admin presets, Lite and Full.
** "Lite" will disable most of the settings and plugins in order to make it easier for users to find the most common features.
** "Lite" will disable most of the settings and plugins in order to make it easier for users to find the most common features.
** "Full" will include settings and plugins configuration as in Moodle 3.11.
** "Full" will include settings and plugins configuration as in Moodle 3.11.
=== Moodle "Lite" changes ===
The changes below are based in a proposal created by Helen Foster in 2018 for MoodleCloud, and validated by users and members of the community, such as Mary Cooch.
{| class="wikitable"
|+
!Site administration
!Action
|-
|Advanced features
|Disable comments, tags, notes, blogs, badges, analytics, competencies
|-
|Users / Privacy and policies
|Disable Show data retention summary
|-
|Plugins / Activity modules / Manage activities
|Hide chat, database, external tool, IMS content package, lesson, SCORM, survey, wiki, workshop
|-
|Plugins / Activity modules / Forum
|Maximum number of attachments = 3
|-
|Plugins / Availability restrictions / Manage restrictions
|Hide Grouping, User profile
|-
|Plugins / Activity modules / Manage blocks
|Hide Activities, Blog menu, Blog tags, Comments, Course completion status, Course/site summary, Courses, Flickr, Global search, Latest badges, Learning plans, Logged in user, Login, Main menu, Mentees, Network servers, Private files, Recent blog entries, RSS feeds, Search forums, Section links, Self completion, Social activities, Tags, YouTube, Feedback
|-
|Plugins / Course formats / Manage course formats
|Disable Social format
|-
|Plugins / Data formats / Manage data formats
|Disable Javascript Object Notation (.json)
|-
|Plugins / Enrolments / Manage enrol plugins
|Disable Cohort sync
|-
|Plugins / Filters / Manage filters
|Disable MathJax, Activity names auto-linking
|-
|Plugins / Question behaviours / Manage question behaviours
|Disable Adaptive mode (no penalties), Deferred feedback with CBM, Immediate feedback with CBM
|-
|Plugins / Question types / Manage question types
|Disable Calculated, Calculated multichoice, Calculated simple, Description, Drag and drop into text, Drag and drop markers, Drag and drop onto image, Embedded answers (Cloze), Essay, Numerical, Random short-answer matching
|-
|Plugins / Repositories / Manage repositories
|Disable Server files, URL downloader, Wikimedia
|-
|Plugins / Text editors / Manage editors
|Disable TinyMCE HTML editor
|-
|Appearance / Themes / Theme settings
|Remove messages only from User menu items
|}
=== Migrating from block_admin_preset to tool_admin_preset ===
There are no plans to create any migration tool or similar. However, the tool_admin_preset follows the same XML than the block_admin_preset so users can export their presets from the block_admin_preset and import them in the tool_admin_preset.

Revision as of 14:47, 17 November 2021

Site admin presets
Project state In progress
Tracker issue MDL-72112
Discussion
Assignee Pimenko and Sara Arjona and Amaia Anabitarte

Moodle 4.0


As an admin

  • I want to load administration presets
  • So I can easily switch between different site admin configurations


  This feature is partially implemented by the third-party plugin Admin presets, created by David Monllaó and maintained by developers from Pimenko. The current version of the plugin lets admins import/export admin settings but, for the minimalist Moodle project, some extra information, such as the list of enabled/disable plugins, should be added too.

This project is about adapting this third-plugin for getting it integrated into Moodle LMS. 

Acceptance criteria

  • The block should be converted to an admin tool.
    • A link "Site admin presets" (pointing to 3rd-party plugin main page) should be displayed in the Site administration.
  • The admin tool should follow the Moodle coding style and policy rules.
  • The “Auto exclude sensitive settings” setting should be checked by default.
    • The tool_admin_presets setting should be reviewed to confirm it includes all the sensitive settings that have been added recently.
  • Presets should also include plugins visibility in order to let admins export/preview/load the list of plugins and their visibility (the original third-party plugin only includes settings).
  • Moodle LMS should include, by default, 2 site admin presets, Lite and Full.
    • "Lite" will disable most of the settings and plugins in order to make it easier for users to find the most common features.
    • "Full" will include settings and plugins configuration as in Moodle 3.11.

Moodle "Lite" changes

The changes below are based in a proposal created by Helen Foster in 2018 for MoodleCloud, and validated by users and members of the community, such as Mary Cooch.

Site administration Action
Advanced features Disable comments, tags, notes, blogs, badges, analytics, competencies
Users / Privacy and policies Disable Show data retention summary
Plugins / Activity modules / Manage activities Hide chat, database, external tool, IMS content package, lesson, SCORM, survey, wiki, workshop
Plugins / Activity modules / Forum Maximum number of attachments = 3
Plugins / Availability restrictions / Manage restrictions Hide Grouping, User profile
Plugins / Activity modules / Manage blocks Hide Activities, Blog menu, Blog tags, Comments, Course completion status, Course/site summary, Courses, Flickr, Global search, Latest badges, Learning plans, Logged in user, Login, Main menu, Mentees, Network servers, Private files, Recent blog entries, RSS feeds, Search forums, Section links, Self completion, Social activities, Tags, YouTube, Feedback
Plugins / Course formats / Manage course formats Disable Social format
Plugins / Data formats / Manage data formats Disable Javascript Object Notation (.json)
Plugins / Enrolments / Manage enrol plugins Disable Cohort sync
Plugins / Filters / Manage filters Disable MathJax, Activity names auto-linking
Plugins / Question behaviours / Manage question behaviours Disable Adaptive mode (no penalties), Deferred feedback with CBM, Immediate feedback with CBM
Plugins / Question types / Manage question types Disable Calculated, Calculated multichoice, Calculated simple, Description, Drag and drop into text, Drag and drop markers, Drag and drop onto image, Embedded answers (Cloze), Essay, Numerical, Random short-answer matching
Plugins / Repositories / Manage repositories Disable Server files, URL downloader, Wikimedia
Plugins / Text editors / Manage editors Disable TinyMCE HTML editor
Appearance / Themes / Theme settings Remove messages only from User menu items

Migrating from block_admin_preset to tool_admin_preset

There are no plans to create any migration tool or similar. However, the tool_admin_preset follows the same XML than the block_admin_preset so users can export their presets from the block_admin_preset and import them in the tool_admin_preset.