```ruby
class ConversationPolicy < ApplicationPolicy
  def show?
    @record.users.include? @user
  end
  class Scope < Scope
    def resolve
      scope
    end
  end
end
```

Add a pundit policy to authorize conversation creation
user
```ruby
class ConversationPolicy < ApplicationPolicy
  def show?
    @record.users.include? @user
  end

  def create?
    @record.initiator == @user
  end
  class Scope < Scope
    def resolve
      scope
    end
  end
end
```
assistant