×

You're using an outdated browser

For a better experience, keep your browser up to date. Check here for the latest version.

$home.properties.pagetreeHeading.asText

Unable to delete migrated document

Anshuman Dash

Anshuman Dash Last update: Jul 26, 2019

Symptom

Deleting a migrated document fails with the following error -

No permission to delete some items in the page tree.

Explanation

In the new version (2.x) of Scroll Documents, when you choose to delete a document, it will also delete all the associated versions for that document. Now, in the previous version (1.x), every version of a document was stored in a separate archived space, which was created by and restricted to the scroll documents app user.

With the new version (2.x) of Scroll Documents, the delete operation runs in the current user's context. As a result, it fail to delete those 'Archived space versions' when you delete a migrated document therefore resulting in the error message.

Resolution

In order to be able to delete the document version, or the document, you will need to follow these steps - 

Recover space permissions

  1. Navigate to the Migration Tool and locate the document to wish to delete. 
  2. Let's assume, in this case, we would like to delete test Document 3 (see screenshot above).
  3. Click on v.1 (Document created) under test Document 3. Please note that, in your case, this will be the title of the version you would have created for your document.
  4. You will be navigated to the archived version space.
  5. Navigate to Space Settings > Space Details, and take a note of the space key.
  6. Next, navigate to Confluence Settings > Security > Space Permissions

  7. Locate the space with with the space key that you noted down in step-5, and click Recover Permissions
  8. Repeat steps 3-7 for all the versions of the document.

Delete the document

Once you have successfully recovered permissions for all the version spaces, you can continue deleting your document as usual

2xCloud
We use cookies to create a secure and effective browsing experience for our website visitors and to understand how you use our site (i.e. Google Analytics). For more information: click here.
Ok