Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-16178

The Delete Application action disappears after moving an app with a simple user

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.1-rc-1
    • Fix Version/s: 11.1
    • Component/s: App Within Minutes
    • Labels:
      None
    • Development Priority:
      High
    • Difficulty:
      Easy
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Follow this steps to reproduce:

      • create an application using a simple user (no administration right)
      • notice that you have the Delete Application entry in the application panel
      • now move the application to a different location, from the application home page
      • notice that you don't have the Delete Application entry in the application panel anymore

      The reason is because the preferences page has not been moved so the user lost his delete right on the application space. The reason the preferences page has not been moved is because simple users (no administration right) are not allowed to create/delete preferences pages by default. The application wizard creates the preferences page for the simple user using programming rights, when the application is created, in order to allow the user to delete the application space. The rename app function should handle the preferences page by moving it using programming right if the user is the application author.

        Attachments

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              mflorea Marius Dumitru Florea
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: