Script - list pages that have permissions set
Groovy script
{groovy:output=wiki} out.println '|| Space || Page ||' spaceManager.getAllSpaces().each { space -> pageManager.getPermissionPages(space).each { page -> def pageLink = "[${space.getKey()}:${page.getTitle()}]" out.println "| [${space.getKey()}:] | ${pageLink} |" } } {groovy}
Example output
Notes
- spaceManager and pageManager are Pre-defined variables
- If you need more detail on the permissions for a particular page, use getContentPermissionSet(). See ContentPermissionSet
Log a request with our support team.
Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2024 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.