set-restrictions macro

Overview

The set-restrictions macro is similar to the add-restriction macro in setting Confluence View or Edit permissions to named users. However, before doing so, it removes any existing permissions of that type.

Restrictions don't give users permissions to content, but rather limit who has those permissions.

For example, if everyone has edit/view permissions for the space, adding edit restrictions to a page for two users - user A and user B - means that only these two users - user A and user B - can edit the page. Everyone else can view the page.

Where to use it?

Optional.

One or more set-restrictions macros can be put in a trigger macro.

Parameters

Parameter

Required

Default

Notes