class UserPolicy < ApplicationPolicy class Scope < Struct.new(:user, :scope) def resolve scope end end def destroy_all? true end end