Sha256: 20ded8b88fef9fe1b3699cc4b50838cbbaa999d1d8bdf1bc470af212f12ce47a
Contents?: true
Size: 255 Bytes
Versions: 9
Compression:
Stored size: 255 Bytes
Contents
# frozen_string_literal: true class Maestrano::Connector::Rails::IdMapPolicy < Maestrano::Connector::Rails::ApplicationPolicy class Scope < Scope def resolve scope.includes(:organization).where('organizations.tenant': user) end end end
Version data entries
9 entries across 9 versions & 1 rubygems