Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-1191

ADMIN INTERFACE: Option to Remove Obsolete XML Files in Development Tools

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Major
    • None
    • 3.0 RC4
    • admininterface
    • None

    Description

      The new "backup configuration" option in RC4 is super, and makes doing backups much nicer. Thanks for adding that!

      One thing that would improve it even more is to have an option to remove obsolete XML files from the root directory specified.

      Consider, for example, a user who goes through this sequence.

      1. Sets up a new Magnolia instance
      2. Backs up his config, using the tool
      3. Creates individual accounts, deletes superuser account
      4. Backs up his config, using the tool
      5. Has trouble with his installation
      6. Deletes the repository, allowing Magnolia to bootstrap and recreate it

      At this point, because the superuser account was exported in Step 2, it is recreated, thereby opening a security hole, even though it wasn't present during the last backup in step 4.

      My suggestion: in step 4, the tool should remove the XML files that aren't from the current export, thereby ensuring that items that have been deleted don't come back to haunt you later on.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              seanmctex Sean McMains
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD