Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-108092

Provide a way to filter messages before they are delivered to objects

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.3, 6.4, 5.15, 6.2
    • D-Bus
    • None

    Description

       

      Q1, I need a way to judge whether a dbus method call is allowed. If not allowed, the call will be aborted.

      spy-hook can only check before the method call, it cannot abort the method call when the check fails.

      Q2, In the spy-hook, only the path of the called service can be known, and the name of the called service cannot be known. I need the service-name.

       

      The attachment contains a demo describing the problem.

       

      The suggested changes are as follow:

      https://codereview.qt-project.org/c/qt/qtbase/+/440744

      Attachments

        For Gerrit Dashboard: QTBUG-108092
        # Subject Branch Project Status CR V

        Activity

          People

            Unassigned Unassigned
            tanfeng tan feng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change