groupHasContentPermission

groupHasContentPermission

Syntax

groupHasContentPermission

Package

Alias

Pkg Usage

Description

Checks if a group has the specified content permission.

Parameters

Parameter name

Type

Required

Description

permissionType

String

Yes

Permission type to check. A list of values is provided in a table below.

pageId

Number

Yes

The ID of the page to check permission for.

groupName

String

Yes

The name of a group to check permission for.

Return Type

Boolean (true/false)

Example

Checks if members of the "confluence-users" group are allowed to edit a page with a 11508 ID.

groupHasContentPermission("Edit", 11508, "confluence-users");

See also

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.