Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
This feature is available starting with v1.1.3 of the Power Scripts™ for Confluence.
Info
titleAvailability
Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

removeAllGroupRestrictionsFromContent(pageId, groupName)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue

Removes all group restrictions on the page for the selected group

Removes all group restrictions on the page for the selected group

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

pageId

...

Number

Yes

The ID of the

...

page on which will be deleted group restrictions.

groupName

...

String

Yes

The name of a

...

group which has restrictions on the page.

Return

...

Type

boolean Boolean (true/false)

Returns true if the content permission has been removed from the page for the group or this page has no restrictions for the group.

Example

Example 1

...

Example

Code Block
languagejs
removeAllGroupRestrictionsFromContent(11508, "confluence-users");

...

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "

...

group_

...

routines" and space = currentSpace ( )
labels

...

array_

...

routines