Uploaded image for project: '{RETIRED} XWiki Wiki Manager Application'
  1. {RETIRED} XWiki Wiki Manager Application
  2. XAWM-85

Delete a wiki without droping the database

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 1.4
    • 1.1.1
    • Documents, Plugin
    • None

    Description

      The database user XEM uses needs DROP privileges on all databases to correctly delete a wiki (grant ALL PRIVILEGES on . ...)

      Granting a non administrative user the tight to drop any database is a bad idea if you share this instance with other applications since there is the possibility that the "wrong" database gets dropped. While I agree that the chance on this happening is small I am bound by our Database Policy.

      I hereby propose to change the "Delete Wiki" code to not fail if the database can not be dropped but to display a warning stating that someone will need to drop this database by hand.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            stefanv Stefan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: