title: Laravel Nova - Hide view & edit from BelongsToMany field
body: <p>The relationship between model <code>Question</code> &amp; <code>Choice</code> is Many to Many.</p>
  
  <p><code>Nova/Question</code> : </p>
  
  <pre><code>public function fields(Request $request)
  {
      return [
          ...
          BelongsToMany::make('Choices')
      ]
  }
  </code></pre>
  
  <p>Which displays below screen</p>
  
  <p><a href="https://i.stack.imgur.com/IkIWt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IkIWt.png" alt="enter image description here"></a></p>
  
  <p>I would like to hide view &amp; edit option from the view. Allowing user only to attach/ detach the choice.</p>
  
  <p>I tried creating <code>QuestionPolicy</code> with below method which didn't work. If I use <code>ChoicePolicy</code>'s <code>update</code> &amp; <code>create</code> method it will hide view &amp; edit option from <code>Choice</code> resource. </p>
  
  <pre><code>public function updateChoice(User $user, Question $question)
  {
      return false;
  }
  </code></pre>
  
  <p>How can I achieve hiding view &amp; edit option from relationship ?</p>
  
  <p><strong>Update</strong></p>
  
  <p><code>Question</code> model</p>
  
  <pre><code>class Question extends Model
  {
      ...
      /**
       * The choices that belong to the question.
       */
      public function choices()
      {
          return $this-&gt;belongsToMany('App\Choice');
      }
  }
  </code></pre>
  
  <p><code>Choice</code> model</p>
  
  <pre><code>class Choice extends Model
  {
      /**
       * The questions that belong to the choice.
       */
      public function questions()
      {
          return $this-&gt;belongsToMany('App\Question');
      }
  }
  </code></pre>