In older versions of Visibility (version 4.2.2 or below), users were able to configure
user = @authenticated. This will allow users to show/hide if they were authenticated. However, in the latest version (version 5.0 and above), the parameter needs changed to be
special = @authenticated.
Therefore, in the latest version, there will be an error Failed to render Visibility macro due to: @authenticated not being a valid user if the configuration is
user = @authenticated.
Visibility 5.0 and above
- Confluence Server
CauseMacro parameters have changed.
The workaround would be to replace
special=@authenticated using an add-on called Search and Replace.
- Install Search and Replace
- Navigate to General configuration > Search and Replace
- Select "Search and Replace with REGEX"
Enter the following text in Search (with Regex) for parameter:
Enter the following text in *Replace With* parameter
- Click on Replace All
Note: Please make sure that you have a backup from your Confluence instance as a safety measure.