class StorePolicy < ApplicationPolicy class Scope < Struct.new(:user, :scope) def resolve scope end end def destroy? false end end