Skip to end of banner
Go to start of banner

Script - list pages that have permissions set

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Groovy script

out.println '|| Space || Page ||'
 
spaceManager.getAllSpaces().each { space ->
  pageManager.getPermissionPages(space).each { page ->
    def pageLink = "[${space.getKey()}:${page.getTitle()}]"
  	out.println "| [${space.getKey()}:] | ${pageLink} |"
  } 
}

Example output

  • No labels