D14185: Disable script execution over DBus when scripting console is disabled

Kai Uwe Broulik noreply at phabricator.kde.org
Tue Jul 17 15:06:52 BST 2018


broulik created this revision.
broulik added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
broulik requested review of this revision.

REVISION 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

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D14185

AFFECTED FILES
  shell/shellcorona.cpp

To: broulik, #plasma
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180717/ae1e03c3/attachment.html>


More information about the Plasma-devel mailing list