Hi, we need to see if for terms (or other entities) certain roles have viewer rights. (...and if not set them)
Below is a GraphQL, but I need to filter only the term.assignedIdenties.capability.OperationSet where the name is "viewer”. How would I go about doing this? (outside filtering in ONE Desktop of course)
query GetCapabilities_term($gid: GID!) {
term(gid: $gid) {
gid
assignedIdentities {
grantingStrategy
capability {
name
id
operationSets {
name
displayName
id
}
}
identity {
... on Role {
name
__typename
... on GroupRole {
name
numberOfUsers
gid
}
}
}
}
}
}