add offer and counteroffer

users can make offer and counter offer
users can edit or delete offer or counter offer if they are the owner
But I have "before_filter :require_permission, only: [:edit, :update, :destroy]"