Versions Compared

Key

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

...

Description

...

This page contains example Macro Security configurations along with steps to import them. If you are just starting out with the Macro Security, this may be a good place for you to start. 

...

Import Configuration Files

To import a configuration file that you have exported from another environment or from one of the example files below:

  1. Log in as a user with the System Administrator Global Permission.
  2. Select Add-ons from the Administration menu (cog icon: Image Modified) at the top right of your screen.

...

  1. Scroll down to Bob Swift Configuration on the

...

  1. side bar and

...

  1. select Macro Security Configuration.
  2. Locate and select the ellipsis menu icon (ellipsis icon: 

...

  1. Image Added).

...

  1. Select the

...

  1. Import Macro Properties

...

  1. option.
  2. Select a valid configuration file to import.
  3. Click

...

  1. the

...

  1. Import

...

  1. button.

...

  1. You may be prompted to re-authenticate as a user with System Administrator permissions.

(warning) Note:

...

The import

...

overwrites any existing configuration settings.

Image Removed

...

Image Added

Examples

Restrict to Administrators Only

This properties file is a good starting point for new installations of Confluence. It restricts all macros and parameters to confluence-administrators. You can gradually open up capabilities on a macro-by-macro basis as needed.

Image Modified

...

No Restrictions

Use this properties file temporarily when adding Macro Security to a Confluence site that is already using macros that implement Macro Security. This gives administrator time to implement page restrictions and do testing before full implementation.

Image Modified

...

Moderate Restrictions

This properties file restricts most macros to members of the confluence-administrators group, but allows *ANY for many of the capabilities that a typical internal (employee-only) site would likely allow.

These macros are partially or fully restricted:

  • Beanshell
  • CLI
  • Code Pro
  • CSV* 
  • Excel 
  • Flash
  • Future*
  • Gant
  • Groovy
  • HTML
  • Include Remote
  • JSON Table *
  • Javascript
  • Jython
  • Markdown
  • Run*
  • Run Now*
  • SQL
  • SQL Query
  • XSLT

These macros are not restricted:

  • Cache
  • SQL FIle

* = The only restrictions relate to the use of certain parameters (aka Parameter Restrictions).

Image Modified