# AssetCommentUserPermissions

> Type in domain **Users**

- HTML: [AssetCommentUserPermissions.html](AssetCommentUserPermissions.html)
- Raw SDL: [AssetCommentUserPermissions.sdl](AssetCommentUserPermissions.sdl)
- Covered by: [llms.txt](../llms.txt)

## Fields

- `canEdit`: `Boolean!` — Check if the current user can edit this `AssetComment`.
- `canDelete`: `Boolean!` — Check if the current user can delete this `AssetComment`.
- `canReply`: `Boolean!` — Check if the current user can reply to this `AssetComment`.

## Reach via

Example queries that can return this type from the root `Query`.

### `assets › comments › currentUserPermissions`

```graphql
query AssetsCommentsCurrentUserPermissions {
  assets(ids: "…") {
    comments(limit: 25, page: 1) {
      items {
        currentUserPermissions {
          __typename
          canDelete
          canEdit
          canReply
        }
      }
    }
  }
}
```

Raw: [`AssetsCommentsCurrentUserPermissions.sdl`](../examples/AssetsCommentsCurrentUserPermissions.sdl)

### `asset › comments › currentUserPermissions`

```graphql
query AssetCommentsCurrentUserPermissions {
  asset(id: "…") {
    comments(limit: 25, page: 1) {
      items {
        currentUserPermissions {
          __typename
          canDelete
          canEdit
          canReply
        }
      }
    }
  }
}
```

Raw: [`AssetCommentsCurrentUserPermissions.sdl`](../examples/AssetCommentsCurrentUserPermissions.sdl)
