D4847: KAuth integration in document saving

Martin Kostolný noreply at phabricator.kde.org
Sun Mar 5 01:27:29 UTC 2017


martinkostolny updated this revision to Diff 12177.
martinkostolny added a comment.


  Good point, thanks! I now the helper is really light-weight. Helper is now only moving a temporary file and setting permissions/owner.
  
  I've also added a unit test. It directly calls the action method instead of calling KAuth action. It's not nice but I think it's safe and it works.

REPOSITORY
  R39 KTextEditor

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D4847?vs=12084&id=12177

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

AFFECTED FILES
  autotests/src/katetextbuffertest.cpp
  autotests/src/katetextbuffertest.h
  src/CMakeLists.txt
  src/buffer/katesecuretextbuffer.cpp
  src/buffer/katesecuretextbuffer.h
  src/buffer/katetextbuffer.cpp
  src/buffer/katetextbuffer.h
  src/buffer/org.kde.ktexteditor.katetextbuffer.actions

To: martinkostolny, dhaumann, #ktexteditor
Cc: cullmann, ltoscano, dhaumann, graesslin, davidedmundson, palant, kwrite-devel, #frameworks, head7, kfunk, sars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170305/406904cc/attachment.html>


More information about the Kde-frameworks-devel mailing list