title: Graphql - Not Authorized to access error message from AWS AppSync Amplify Console
body: <p>I'm working with React + NextJs and have Amplify Graphql implemented. I'm logged in and set my current user as an Admin group, however, I'm not able to mutate a data based on authorId.</p>
  <p>The logged in userId is <strong>1234</strong> (for example)</p>
  <pre><code>type Xp
    @model
    @key(name: &quot;xpsByUserId&quot;, fields: [&quot;authorId&quot;])
    @auth(
      rules: [
        { allow: owner, ownerField: &quot;authorId&quot; }
        { allow: public, operations: [read] }
        { allow: private, operations: [read] }
      ]
    ) {
    id: ID!
    authorId: ID!
    author: User @connection(fields: [&quot;authorId&quot;])
    name: String
    visibility: Visibility
    post: [Post] @connection(name: &quot;XpPosts&quot;)
    createdAt: String
  }
  </code></pre>
  <p>Trying to mutate:</p>
  <pre><code>mutation MyMutation {
    createXp(input: {authorId: &quot;1234&quot;, name: &quot;fdsfa&quot;}) {
      id
      name
      author {
        username
      }
    }
  }
  </code></pre>
  <p>I get a message: <code>Not Authorized to access createXp on type Xp</code></p>
  <p>This is my user type:</p>
  <pre><code>type User
    @model(subscriptions: null)
    @key(fields: [&quot;userId&quot;])
    @auth(
      rules: [
        { allow: groups, groups: [&quot;Admin&quot;] }
        { allow: owner, ownerField: &quot;userId&quot; }
        { allow: private, operations: [read] }
      ]
    ) {
    userId: ID!
    username: String!
    email: String!
    posts: [Post] @connection(keyName: &quot;postsByUserId&quot;, fields: [&quot;userId&quot;])
    xps: [Xp] @connection(keyName: &quot;xpsByUserId&quot;, fields: [&quot;userId&quot;])
    createdAt: String
    updatedAt: String
    following: [Following] @connection(keyName: &quot;followingByUserId&quot;, fields: [&quot;userId&quot;])
  }
  </code></pre>
  <p>What am I doing wrong here?</p>