Add X-KDE-DBUS-Restricted-Interfaces to Application desktop entry fields
ClosedPublic

Authored by meven on May 15 2020, 12:33 PM.

Details

Summary

This added field to Application desktop entries allows to declare an access request to a DBUS interface.

Needed for D29407

Diff Detail

Repository
R309 KService
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
meven created this revision.May 15 2020, 12:33 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptMay 15 2020, 12:33 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
meven requested review of this revision.May 15 2020, 12:33 PM
ngraham accepted this revision.Jun 1 2020, 3:54 AM
This revision is now accepted and ready to land.Jun 1 2020, 3:54 AM
This revision was automatically updated to reflect the committed changes.
zzag added a comment.Jun 5 2020, 9:45 AM

This added field to Application desktop entries allows to declare an access request to a DBUS interface.

Just to be sure. Does X-KDE-DBUS-Restricted-Interfaces indicate a D-Bus interface or a D-Bus service?

meven added a comment.Jun 5 2020, 10:26 AM
In D29774#674668, @zzag wrote:

This added field to Application desktop entries allows to declare an access request to a DBUS interface.

Just to be sure. Does X-KDE-DBUS-Restricted-Interfaces indicate a D-Bus interface or a D-Bus service?

A string that designates a DBus interface name such as what is done in KWin side D29407.

So for spectacle it will be :

X-KDE-DBUS-Restricted-Interfaces=org_kde_kwin_effect-screenshot