---
title: "groupHasContentPermission"
canonical: "https://support.appfire.com/space/PSCONF/15305165/groupHasContentPermission"
format: markdown
---
> Macro (aura-html)

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | groupHasContentPermission | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Checks if a group has the specified content permission.

Checks if a group has the specified content permission.

## Parameters

> Macro (table-plus)
> 
> | 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.

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

## See also

> Macro (contentbylabel)