class UserPolicy < ApplicationPolicy
def write?
record == user
end
def update?
def banned?
!is_banned?