Overview

The {remove-restriction} macro is used to remove View or Edit content-level permissions.

Where to use it?

Optional.

One or more {remove-restriction} macros can be put in a {trigger} macro.

Parameters

Parameter

Required

Default

Notes

type

(tick)


What type of permission to remove?

  • view – assign the user/group view permission
  • edit – assign the user/group edit permission

Note: The permissions are set using Confluence's content-level permissions system and can thus be altered via the padlock icon.

user

(info)


One or more users to remove type permission from:

group

(info)


One or more user groups to remove type permission from:

(info) If neither user or group parameters are defined, then all content-level permissions of type will be removed.

Example

{workflow:Restrictions}
   {state:Review|approved=Published}
      {approval:Review}
   {state}
   {state:Published}
   {state}
   {trigger:pageapproved|approval=Review}
      {remove-restriction:type=view}
      {remove-restriction:type=edit}
   {trigger}
{workflow}

All examples

See also

External Links:

Workflow Authoring Guide: