After import space, all pages have ghost restrictions from unexacting in import parent. $permission.

Rafał Żydek March 11, 2021

Source: Confluence Server 7.5.0

Space originally be a part of bigger space with parent restrictions.

All restrictions was removed via built-in script runner function.

 

Destination: Confluence Data Center 7.4.4

Imported space without any errors. All work fine for admin user.

User cannot see the content below home page. No restrictions are shows on space admin / restrictions.

 

We look also on page information:

Error on page information

Page PermissionsRestrictions from parent pages:

  • Page: *** – Only $permission.userSubject.name can view this page.

 

I've made some script runner script to get all descendent from main page, and after that for every page I get parent and setting this information again via PageManager. It fixed the problem, but we search better solution for that, or fix in the xml file.

 

Other observation:

When we reorder the pages, reordered pages start to work without missing ghosty restictions.

2 answers

1 accepted

0 votes
Answer accepted
Rafał Żydek March 14, 2021

Re-index and clearing the cache helps!

0 votes
Nathan Neulinger October 14, 2022

Cache clearing and reindexing did not help for me, but 'Repair ancestors table' did:

 

https://confluence.atlassian.com/doc/rebuilding-the-ancestor-table-153948.html

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.4.4
TAGS
AUG Leaders

Atlassian Community Events