Review Request 127948: Avoid skipping KAuthorized check

David Edmundson david at davidedmundson.co.uk
Thu May 19 20:17:57 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127948/
-----------------------------------------------------------

(Updated May 19, 2016, 8:17 p.m.)


Review request for KDE Frameworks and Matthew Dawson.


Changes
-------

Wrote a test. 
It fails without my fix, it passes with the fix.


Repository: kconfig


Description
-------

Previously, if a .desktop file had a TryExec and a X-KDE-AuthorizeAction
entry we would skip the KAuthorized check. This is clearly wrong.


Diffs (updated)
-----

  autotests/kdesktopfiletest.h f4e0c96b8751b2b116b98a52553ad6698b9d40b4 
  autotests/kdesktopfiletest.cpp a90faf3ca44b6a8f5d7d7c9de4d58d17ba360d16 
  src/core/kdesktopfile.cpp eda7c292da9aa2bc97f6066e90034767134c2e07 

Diff: https://git.reviewboard.kde.org/r/127948/diff/


Testing
-------

Disabled shell_access in kde5rc.

With I was unable to open konsole from kicker.
Opening dolphin still worked as normal.


Thanks,

David Edmundson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160519/7ebf4d67/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list