remove-restriction macro

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.

This macro removes restriction limits that has been set for the permission on the page.

The app add-restriction and set-restrictions macros do not give users permissions to content, but rather limit the users who have those permissions.

For example, if everyone has edit/view permissions for the space and you add edit restrictions to a page - for user A and user B - only the named users can edit the page. Everyone else can only view the page.

You can remove/add or add/remove restrictions using these macros in any order.

If you want to add restrictions immediately after removing restrictions of the same type, you can use the set-restrictions macro instead.†