Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Backup
    • Labels:
      None
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Define defaults for general backup config options in admin interface

      One new screen must display these settings:

      general_users
      general_anonymize
      general_role_assignments
      general_user_files
      general_activities
      general_blocks
      general_filters
      general_comments
      general_userscompletion
      general_logs
      general_histories

      With this characteristics:

      • The settings will be stored under the "backup" component (config_plugins).
      • All them default to "true" but the last two defaulting to "false".
      • One helpstring for describing them will be available in an standard way (from backup.php lang file).
      • Paired with each setting it will be one "lock" setting (like in some parts of the gradebook).
      • backup_controller->apply_defaults() will call one static method in backup_controller_dbops.class.php (apply_backup_general_config() or so). In charge of loading those config options and put the settings with the same name with the proper values, with the status = LOCKED_BY_CONFIG if necessary.

      Confirm everything is working ok, with all dependencies between settings automatically executed and so on.

      Surely the list of config options and settings will grow along the time.

        Attachments

        1. configlock.gif
          configlock.gif
          0.1 kB
        2. hierarchylock.gif
          hierarchylock.gif
          0.2 kB
        3. MDL-22140.20100617.noimages.patch
          25 kB
        4. MDL-22140.20100617.patch
          26 kB
        5. permissionlock.gif
          permissionlock.gif
          0.2 kB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10