Disable script execution over DBus when scripting console is disabled
ClosedPublic

Authored by broulik on Jul 17 2018, 2:06 PM.

Details

Summary

There's no point in disabling the GUI for this but then still allowing stuff via DBus

Test Plan

Put the following in kdeglobals

[KDE Action Restrictions]
plasma-desktop/scripting_console=false

did a qdbus call

Error: org.freedesktop.DBus.Error.Failed
Administrative policies prevent script execution
  • Verified that unlockedDesktop (system immutable) also blocks it
  • Verified that it still works when none of those restrictions apply

Diff Detail

Repository
R120 Plasma Workspace
Lint
Lint Skipped
Unit
Unit Tests Skipped
broulik created this revision.Jul 17 2018, 2:06 PM
Restricted Application added a project: Plasma. · View Herald TranscriptJul 17 2018, 2:06 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Jul 17 2018, 2:06 PM
mart accepted this revision.Jul 23 2018, 12:03 PM
This revision is now accepted and ready to land.Jul 23 2018, 12:03 PM
This revision was automatically updated to reflect the committed changes.