Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PermissionGroupCreate and permissionGroupUpdate #823

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ input PermissionGroupCreateInput {

#### [<code style={{ fontWeight: 'normal' }}>PermissionGroupCreateInput.<b>restrictedAccessToChannels</b></code>](#)<Bullet />[`Boolean`](../../../api-reference/miscellaneous/scalars/boolean) <Badge class="secondary" text="scalar"/>

> Determine if the group has restricted access to channels. DEFAULT: False
> Determine if the group has restricted access to channels.
>
> <Badge text="Added in Saleor 3.14" class="secondary margin-bottom--sm" />
>
Expand Down
10 changes: 10 additions & 0 deletions docs/api-reference/users/mutations/permission-group-create.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,16 @@ permissionGroupCreate(

> Input fields to create permission group.

> Fields:
>
> - [<code style={{ fontWeight: 'normal' }}>PermissionGroupCreateInput.<b>addChannels</b></code>](../../../api-reference/users/inputs/permission-group-create-input),
> - [<code style={{ fontWeight: 'normal' }}>PermissionGroupCreateInput.<b>restrictedAccessToChannels</b></code>](../../../api-reference/users/inputs/permission-group-create-input)
>
> <Permissions
> permissions={"MANAGE_CHANNELS"}
> text={"Requires one of the following permissions"}
> />

### Type

#### [`PermissionGroupCreate`](../../../api-reference/users/objects/permission-group-create) <Badge class="secondary" text="object"/>
Expand Down
11 changes: 11 additions & 0 deletions docs/api-reference/users/mutations/permission-group-update.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,17 @@ permissionGroupUpdate(

> Input fields to create permission group.

> Fields:
>
> - [<code style={{ fontWeight: 'normal' }}>PermissionGroupUpdateInput.<b>addChannels</b></code>](../../../api-reference/users/inputs/permission-group-update-input),
> - [<code style={{ fontWeight: 'normal' }}>PermissionGroupUpdateInput.<b>removeChannels</b></code>](../../../api-reference/users/inputs/permission-group-update-input),
> - [<code style={{ fontWeight: 'normal' }}>PermissionGroupUpdateInput.<b>restrictedAccessToChannels</b></code>](../../../api-reference/users/inputs/permission-group-update-input)
>
> <Permissions
> permissions={"MANAGE_CHANNELS"}
> text={"Requires one of the following permissions"}
> />

### Type

#### [`PermissionGroupUpdate`](../../../api-reference/users/objects/permission-group-update) <Badge class="secondary" text="object"/>
Expand Down