---
title: "How to get all space permissions"
canonical: "https://support.appfire.com/space/SUPPORT/89136154/How%20to%20get%20all%20space%20permissions"
format: markdown
---
# Description

It is difficult for administrators to see space permissions across all spaces. This provides a view of all the space permissions.

# Steps

1. Make sure the [Run CLI Actions in Confluence](https://appfire.atlassian.net/wiki/spaces/CCLI/overview) and [Advanced Tables for Confluence](https://appfire.atlassian.net/wiki/spaces/TBL/overview) are installed. This example uses [Augments](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74814982) available in the [Advanced Tables for Confluence](https://appfire.atlassian.net/wiki/spaces/TBL) add-on release 6.x and higher.
2. Using the [Cache Macro](https://appfire.atlassian.net/wiki/spaces/CACHE/pages/66586270) within the [Cache for Confluence](https://appfire.atlassian.net/wiki/spaces/CACHE) add-on is optional, but recommended if you have a large number of spaces as the retrieval can take time.
3. Optionally, add
  and
  images to the page to replace **true** and **false** text for visual appeal.
4. Configure a **profile** for the CLI macro to the Confluence system you want to query or provide alternative parameters. Replace the profile name in the example with your profile name or alternative parameters.
5. Create a page and insert the following wiki markup (**Insert** **>** **Markup**):
  **All space permissions**
  ***Example Output***
  This is a portion of the output generated from this Cloud site taken from another Confluence site (download version needed for add-ons).
  

> ℹ️ **Export page**
> ℹ️ 
> ℹ️ Later versions of Confluence no longer support a separate **exportpage** permission (column 8) even though it is still output to the CSV file. Having **view** access to a page is enough to allow export. That column is excluded with this view.

> ✅ **Management**
> ✅ 
> ✅ Here is an example CLI command for making global changes:
> ✅ 
> ✅ ```
> ✅ --action runFromSpaceList --common "-a addPermissions --space @space@ --group developers --permissions VIEWSPACE,EDITSPACE,EXPORTPAGE,SETPAGEPERMISSIONS,REMOVEPAGE,EDITBLOG,REMOVEBLOG,COMMENT,REMOVECOMMENT,CREATEATTACHMENT,REMOVEATTACHMENT,REMOVEMAIL,EXPORTSPACE"
> ✅  
> ✅ or for a specific list of spaces
> ✅ --action runFromList --list ACLI,BCLI --common "-a addPermissions --space @entry@ --group developers --permissions VIEWSPACE,EDITSPACE,EXPORTPAGE,SETPAGEPERMISSIONS,REMOVEPAGE,EDITBLOG,REMOVEBLOG,COMMENT,REMOVECOMMENT,CREATEATTACHMENT,REMOVEATTACHMENT,REMOVEMAIL,EXPORTSPACE"
> ✅ ```

> ✅ **Ensure your profile is working**
> ✅ 
> ✅ Make sure your CLI profile is defined and works before attempting the example above. A simple test if your profile happens to be named **confluence-local** is:
> ✅ 
> ✅ ```
> ✅ {cli:profile=confluence-local|panel=false}
> ✅ --action getServerInfo
> ✅ {cli}
> ✅ ```