Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Have you every ever had a space that cannot be accessed? Even by an administrator. You know it exists, but no one has permission to see it. For instance, no one can delete it, yet you cannot create a space with the same key as Confluence says it already exists. Some symptoms of this issue are:

...

This post describes how to fix this problem.

From UI

Easy enough via the UI: Administration → Space Permissions → look for the space and find a Recover Permissions link.

Using CLI

Code Block
-a renderRequest --request /admin/permissions/grantspacepermissions.action --requestParameters key=XXX --file ""

Using GINT

Requires GINT 2.8.0 or higher

Code Block
...
[action: 'renderRequest', ext: 'AvoidPermissionProblem',
    space: space,
    parameters: [
        request: '/admin/permissions/grantspacepermissions.action',
        requestParameters: 'key=' + space,
        file: '', // don't need output
    ],
],
gint.getRemoveSpaceTestcase(depends: 'renderRequestAvoidPermissionProblem'), 
...

...