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