module ProtectedTagAccess
  extend ActiveSupport::Concern

  included do
    include ProtectedRefAccess
    include EE::ProtectedRefAccess

    belongs_to :protected_tag

    delegate :project, to: :protected_tag
  end
end
