# File lib/declarative_authorization/obligation_scope.rb, line 348
    def join_to_path (join)
      case join
      when Symbol
        [join]
      when Hash
        [join.keys.first] + join_to_path(join[join.keys.first])
      end
    end