github.com/ungtb10d/cli/v2@v2.0.0-20221110210412-98537dd9d6a1/pkg/cmd/status/fixtures/search_forbidden.json (about)

     1  {
     2      "data": {
     3          "assignments": {
     4              "nodes": [
     5                  {
     6                      "updatedAt": "2022-03-15T17:10:25Z",
     7                      "__typename": "PullRequest",
     8                      "title": "Pin extensions",
     9                      "number": 5272,
    10                      "repository": {
    11                          "nameWithOwner": "ungtb10d/cli"
    12                      }
    13                  },
    14                  null,
    15                  {
    16                      "__typename": "Issue",
    17                      "updatedAt": "2022-03-10T21:33:57Z",
    18                      "title": "yolo",
    19                      "number": 157,
    20                      "repository": {
    21                          "nameWithOwner": "vilmibm/testing"
    22                      }
    23                  },
    24                  null
    25              ]
    26          },
    27          "reviewRequested": {
    28              "nodes": [
    29                  {
    30                      "updatedAt": "2022-03-15T17:10:25Z",
    31                      "__typename": "PullRequest",
    32                      "title": "Pin extensions",
    33                      "number": 5272,
    34                      "repository": {
    35                          "nameWithOwner": "ungtb10d/cli"
    36                      }
    37                  },
    38                  null
    39              ]
    40          }
    41      },
    42      "errors": [
    43          {
    44              "type": "FORBIDDEN",
    45              "path": [
    46                  "assignments",
    47                  "nodes",
    48                  1
    49              ],
    50              "extensions": {
    51                  "saml_failure": true
    52              },
    53              "locations": [
    54                  {
    55                      "line": 4,
    56                      "column": 5
    57                  }
    58              ],
    59              "message": "Resource protected by organization SAML enforcement. You must grant your OAuth token access to this organization."
    60          },
    61          {
    62              "type": "FORBIDDEN",
    63              "path": [
    64                  "assignments",
    65                  "nodes",
    66                  3
    67              ],
    68              "extensions": {
    69                  "saml_failure": true
    70              },
    71              "locations": [
    72                  {
    73                      "line": 4,
    74                      "column": 5
    75                  }
    76              ],
    77              "message": "Resource protected by organization SAML enforcement. You must grant your OAuth token access to this organization."
    78          },
    79          {
    80              "type": "FORBIDDEN",
    81              "path": [
    82                  "reviewRequested",
    83                  "nodes",
    84                  1
    85              ],
    86              "extensions": {
    87                  "saml_failure": true
    88              },
    89              "locations": [
    90                  {
    91                      "line": 4,
    92                      "column": 5
    93                  }
    94              ],
    95              "message": "Resource protected by organization SAML enforcement. You must grant your OAuth token access to this organization."
    96          }
    97      ]
    98  }