feat: granular permission assignment for organization members #17807
Annotations
2 errors
run integration tests:
integration-tests/testkit/graphql.ts#L68
Error: Expected GraphQL response to have no errors, but got 1 errors:
No access (reason: "Missing permission for performing 'target:create' on resource")
endpoint: http://localhost:8082/graphql
query:
mutation createTarget($input: CreateTargetInput!) {
createTarget(input: $input) {
ok {
createdTarget {
id
slug
}
}
error {
message
}
}
}
body:
{
"errors": [
{
"message": "No access (reason: \"Missing permission for performing 'target:create' on resource\")",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"createTarget"
],
"extensions": {
"code": "UNAUTHORISED"
}
}
],
"data": null
}
request-id: BL4+rwwuS7yRLZBYSH4Dqw/0000000919
❯ Object.expectNoGraphQLErrors testkit/graphql.ts:68:15
❯ tests/api/target/crud.spec.ts:161:18
❯ tests/api/target/crud.spec.ts:159:30
|
run integration tests
Process completed with exit code 1.
|
Loading