feat: granular permission assignment for organization members #17802
Annotations
11 errors
|
run integration tests:
integration-tests/testkit/graphql.ts#L68
Error: Expected GraphQL response to have no errors, but got 1 errors:
Unexpected error.
endpoint: http://localhost:8082/graphql
query:
mutation createOrganization($input: CreateOrganizationInput!) {
createOrganization(input: $input) {
ok {
createdOrganizationPayload {
organization {
id
slug
owner {
id
role {
id
permissions
}
}
memberRoles {
id
name
locked
}
rateLimit {
retentionInDays
}
}
}
}
error {
message
inputErrors {
slug
}
}
}
}
body:
{
"errors": [
{
"message": "Unexpected error.",
"locations": [
{
"line": 8,
"column": 11
}
],
"path": [
"createOrganization",
"ok",
"createdOrganizationPayload",
"organization",
"owner"
]
}
],
"data": {
"createOrganization": {
"error": null,
"ok": null
}
}
}
request-id: YJAJPq6JScSrMol1HNPaRQ/0000000197
❯ Object.expectNoGraphQLErrors testkit/graphql.ts:68:15
❯ testkit/seed.ts:104:15
❯ createOrg testkit/seed.ts:103:29
❯ tests/api/legacy-auth.spec.ts:11:52
|
run integration tests:
integration-tests/testkit/graphql.ts#L68
Error: Expected GraphQL response to have no errors, but got 1 errors:
Unexpected error.
endpoint: http://localhost:8082/graphql
query:
mutation createOrganization($input: CreateOrganizationInput!) {
createOrganization(input: $input) {
ok {
createdOrganizationPayload {
organization {
id
slug
owner {
id
role {
id
permissions
}
}
memberRoles {
id
name
locked
}
rateLimit {
retentionInDays
}
}
}
}
error {
message
inputErrors {
slug
}
}
}
}
body:
{
"errors": [
{
"message": "Unexpected error.",
"locations": [
{
"line": 8,
"column": 11
}
],
"path": [
"createOrganization",
"ok",
"createdOrganizationPayload",
"organization",
"owner"
]
}
],
"data": {
"createOrganization": {
"error": null,
"ok": null
}
}
}
request-id: YJAJPq6JScSrMol1HNPaRQ/0000000048
❯ Object.expectNoGraphQLErrors testkit/graphql.ts:68:15
❯ testkit/seed.ts:104:15
❯ createOrg testkit/seed.ts:103:29
❯ Module.prepareProject testkit/registry-models.ts:7:5
❯ prepare tests/models/stitching.spec.ts:761:43
❯ tests/models/stitching.spec.ts:19:11
|
run integration tests:
integration-tests/testkit/graphql.ts#L68
Error: Expected GraphQL response to have no errors, but got 1 errors:
Unexpected error.
endpoint: http://localhost:8082/graphql
query:
mutation createOrganization($input: CreateOrganizationInput!) {
createOrganization(input: $input) {
ok {
createdOrganizationPayload {
organization {
id
slug
owner {
id
role {
id
permissions
}
}
memberRoles {
id
name
locked
}
rateLimit {
retentionInDays
}
}
}
}
error {
message
inputErrors {
slug
}
}
}
}
body:
{
"errors": [
{
"message": "Unexpected error.",
"locations": [
{
"line": 8,
"column": 11
}
],
"path": [
"createOrganization",
"ok",
"createdOrganizationPayload",
"organization",
"owner"
]
}
],
"data": {
"createOrganization": {
"error": null,
"ok": null
}
}
}
request-id: YJAJPq6JScSrMol1HNPaRQ/0000000044
❯ Object.expectNoGraphQLErrors testkit/graphql.ts:68:15
❯ testkit/seed.ts:104:15
❯ createOrg testkit/seed.ts:103:29
❯ Module.prepareProject testkit/registry-models.ts:7:5
❯ prepare tests/models/stitching.spec.ts:761:43
❯ tests/models/stitching.spec.ts:31:11
|
run integration tests:
integration-tests/testkit/graphql.ts#L68
Error: Expected GraphQL response to have no errors, but got 1 errors:
Unexpected error.
endpoint: http://localhost:8082/graphql
query:
mutation createOrganization($input: CreateOrganizationInput!) {
createOrganization(input: $input) {
ok {
createdOrganizationPayload {
organization {
id
slug
owner {
id
role {
id
permissions
}
}
memberRoles {
id
name
locked
}
rateLimit {
retentionInDays
}
}
}
}
error {
message
inputErrors {
slug
}
}
}
}
body:
{
"errors": [
{
"message": "Unexpected error.",
"locations": [
{
"line": 8,
"column": 11
}
],
"path": [
"createOrganization",
"ok",
"createdOrganizationPayload",
"organization",
"owner"
]
}
],
"data": {
"createOrganization": {
"error": null,
"ok": null
}
}
}
request-id: YJAJPq6JScSrMol1HNPaRQ/0000000050
❯ Object.expectNoGraphQLErrors testkit/graphql.ts:68:15
❯ testkit/seed.ts:104:15
❯ createOrg testkit/seed.ts:103:29
❯ Module.prepareProject testkit/registry-models.ts:7:5
❯ prepare tests/models/stitching.spec.ts:761:43
❯ tests/models/stitching.spec.ts:60:13
|
run integration tests:
integration-tests/testkit/graphql.ts#L68
Error: Expected GraphQL response to have no errors, but got 1 errors:
Unexpected error.
endpoint: http://localhost:8082/graphql
query:
mutation createOrganization($input: CreateOrganizationInput!) {
createOrganization(input: $input) {
ok {
createdOrganizationPayload {
organization {
id
slug
owner {
id
role {
id
permissions
}
}
memberRoles {
id
name
locked
}
rateLimit {
retentionInDays
}
}
}
}
error {
message
inputErrors {
slug
}
}
}
}
body:
{
"errors": [
{
"message": "Unexpected error.",
"locations": [
{
"line": 8,
"column": 11
}
],
"path": [
"createOrganization",
"ok",
"createdOrganizationPayload",
"organization",
"owner"
]
}
],
"data": {
"createOrganization": {
"error": null,
"ok": null
}
}
}
request-id: YJAJPq6JScSrMol1HNPaRQ/0000000053
❯ Object.expectNoGraphQLErrors testkit/graphql.ts:68:15
❯ testkit/seed.ts:104:15
❯ createOrg testkit/seed.ts:103:29
❯ Module.prepareProject testkit/registry-models.ts:7:5
❯ prepare tests/models/stitching.spec.ts:761:43
❯ tests/models/stitching.spec.ts:77:11
|
run integration tests:
integration-tests/testkit/graphql.ts#L68
Error: Expected GraphQL response to have no errors, but got 1 errors:
Unexpected error.
endpoint: http://localhost:8082/graphql
query:
mutation createOrganization($input: CreateOrganizationInput!) {
createOrganization(input: $input) {
ok {
createdOrganizationPayload {
organization {
id
slug
owner {
id
role {
id
permissions
}
}
memberRoles {
id
name
locked
}
rateLimit {
retentionInDays
}
}
}
}
error {
message
inputErrors {
slug
}
}
}
}
body:
{
"errors": [
{
"message": "Unexpected error.",
"locations": [
{
"line": 8,
"column": 11
}
],
"path": [
"createOrganization",
"ok",
"createdOrganizationPayload",
"organization",
"owner"
]
}
],
"data": {
"createOrganization": {
"error": null,
"ok": null
}
}
}
request-id: YJAJPq6JScSrMol1HNPaRQ/0000000049
❯ Object.expectNoGraphQLErrors testkit/graphql.ts:68:15
❯ testkit/seed.ts:104:15
❯ createOrg testkit/seed.ts:103:29
❯ Module.prepareProject testkit/registry-models.ts:7:5
❯ prepare tests/models/stitching.spec.ts:761:43
❯ tests/models/stitching.spec.ts:117:11
|
run integration tests:
integration-tests/testkit/graphql.ts#L68
Error: Expected GraphQL response to have no errors, but got 1 errors:
Unexpected error.
endpoint: http://localhost:8082/graphql
query:
mutation createOrganization($input: CreateOrganizationInput!) {
createOrganization(input: $input) {
ok {
createdOrganizationPayload {
organization {
id
slug
owner {
id
role {
id
permissions
}
}
memberRoles {
id
name
locked
}
rateLimit {
retentionInDays
}
}
}
}
error {
message
inputErrors {
slug
}
}
}
}
body:
{
"errors": [
{
"message": "Unexpected error.",
"locations": [
{
"line": 8,
"column": 11
}
],
"path": [
"createOrganization",
"ok",
"createdOrganizationPayload",
"organization",
"owner"
]
}
],
"data": {
"createOrganization": {
"error": null,
"ok": null
}
}
}
request-id: YJAJPq6JScSrMol1HNPaRQ/0000000057
❯ Object.expectNoGraphQLErrors testkit/graphql.ts:68:15
❯ testkit/seed.ts:104:15
❯ createOrg testkit/seed.ts:103:29
❯ Module.prepareProject testkit/registry-models.ts:7:5
❯ prepare tests/models/stitching.spec.ts:761:43
❯ tests/models/stitching.spec.ts:149:11
|
run integration tests:
integration-tests/testkit/graphql.ts#L68
Error: Expected GraphQL response to have no errors, but got 1 errors:
Unexpected error.
endpoint: http://localhost:8082/graphql
query:
mutation createOrganization($input: CreateOrganizationInput!) {
createOrganization(input: $input) {
ok {
createdOrganizationPayload {
organization {
id
slug
owner {
id
role {
id
permissions
}
}
memberRoles {
id
name
locked
}
rateLimit {
retentionInDays
}
}
}
}
error {
message
inputErrors {
slug
}
}
}
}
body:
{
"errors": [
{
"message": "Unexpected error.",
"locations": [
{
"line": 8,
"column": 11
}
],
"path": [
"createOrganization",
"ok",
"createdOrganizationPayload",
"organization",
"owner"
]
}
],
"data": {
"createOrganization": {
"error": null,
"ok": null
}
}
}
request-id: YJAJPq6JScSrMol1HNPaRQ/0000000063
❯ Object.expectNoGraphQLErrors testkit/graphql.ts:68:15
❯ testkit/seed.ts:104:15
❯ createOrg testkit/seed.ts:103:29
❯ Module.prepareProject testkit/registry-models.ts:7:5
❯ prepare tests/models/stitching.spec.ts:761:43
❯ tests/models/stitching.spec.ts:179:11
|
run integration tests:
integration-tests/testkit/graphql.ts#L68
Error: Expected GraphQL response to have no errors, but got 1 errors:
Unexpected error.
endpoint: http://localhost:8082/graphql
query:
mutation createOrganization($input: CreateOrganizationInput!) {
createOrganization(input: $input) {
ok {
createdOrganizationPayload {
organization {
id
slug
owner {
id
role {
id
permissions
}
}
memberRoles {
id
name
locked
}
rateLimit {
retentionInDays
}
}
}
}
error {
message
inputErrors {
slug
}
}
}
}
body:
{
"errors": [
{
"message": "Unexpected error.",
"locations": [
{
"line": 8,
"column": 11
}
],
"path": [
"createOrganization",
"ok",
"createdOrganizationPayload",
"organization",
"owner"
]
}
],
"data": {
"createOrganization": {
"error": null,
"ok": null
}
}
}
request-id: YJAJPq6JScSrMol1HNPaRQ/0000000064
❯ Object.expectNoGraphQLErrors testkit/graphql.ts:68:15
❯ testkit/seed.ts:104:15
❯ createOrg testkit/seed.ts:103:29
❯ Module.prepareProject testkit/registry-models.ts:7:5
❯ prepare tests/models/stitching.spec.ts:761:43
❯ tests/models/stitching.spec.ts:211:11
|
run integration tests:
integration-tests/testkit/graphql.ts#L68
Error: Expected GraphQL response to have no errors, but got 1 errors:
Unexpected error.
endpoint: http://localhost:8082/graphql
query:
mutation createOrganization($input: CreateOrganizationInput!) {
createOrganization(input: $input) {
ok {
createdOrganizationPayload {
organization {
id
slug
owner {
id
role {
id
permissions
}
}
memberRoles {
id
name
locked
}
rateLimit {
retentionInDays
}
}
}
}
error {
message
inputErrors {
slug
}
}
}
}
body:
{
"errors": [
{
"message": "Unexpected error.",
"locations": [
{
"line": 8,
"column": 11
}
],
"path": [
"createOrganization",
"ok",
"createdOrganizationPayload",
"organization",
"owner"
]
}
],
"data": {
"createOrganization": {
"error": null,
"ok": null
}
}
}
request-id: YJAJPq6JScSrMol1HNPaRQ/0000000067
❯ Object.expectNoGraphQLErrors testkit/graphql.ts:68:15
❯ testkit/seed.ts:104:15
❯ createOrg testkit/seed.ts:103:29
❯ Module.prepareProject testkit/registry-models.ts:7:5
❯ prepare tests/models/stitching.spec.ts:761:43
❯ tests/models/stitching.spec.ts:228:11
|
Loading