# AssetUserPermissions

> Type in domain **Users**

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

## Fields

- `canEdit`: `Boolean!` — Check if current user has `Asset` editing permissions for a specific `Asset`.
- `canDelete`: `Boolean!` — Check if current user has `Asset` deleting permissions for a specific `Asset`.
- `canDownload`: `Boolean!` — Check if current user has `Asset` download permissions for a specific `Asset`.
- `canComment`: `Boolean!` — Check if current user has `Comment` creation permissions for a specific `Asset`.

## Reach via

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

### `assets › currentUserPermissions`

```graphql
query AssetsCurrentUserPermissions {
  assets(ids: "…") {
    currentUserPermissions {
      __typename
      canComment
      canDelete
      canDownload
      canEdit
    }
  }
}
```

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

### `asset › currentUserPermissions`

```graphql
query AssetCurrentUserPermissions {
  asset(id: "…") {
    currentUserPermissions {
      __typename
      canComment
      canDelete
      canDownload
      canEdit
    }
  }
}
```

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