D6197: Add basic KAuth support to file ioslave
Chinmoy Ranjan Pradhan
noreply at phabricator.kde.org
Mon Jun 12 16:18:44 UTC 2017
chinmoyr created this revision.
Restricted Application added a project: Frameworks.
REVISION SUMMARY
This patch adds the relevant KAuth code to file ioslave that can be used to perform various file management operations with escalated privilege.
//execWithRoot()// : This method performs the specified operation as root
//warningMessage()//: Decides upon the warning message. As of yet it only has warning for the delete operation.
//showWarning()//: Shows the warning.
REPOSITORY
R241 KIO
REVISION DETAIL
https://phabricator.kde.org/D6197
AFFECTED FILES
src/ioslaves/file/CMakeLists.txt
src/ioslaves/file/file.cpp
src/ioslaves/file/file.h
src/ioslaves/file/file_unix.cpp
src/ioslaves/file/kauth/CMakeLists.txt
src/ioslaves/file/kauth/file.actions
src/ioslaves/file/kauth/helper.cpp
src/ioslaves/file/kauth/helper.h
To: chinmoyr, elvisangelaccio, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170612/2ff28b88/attachment.html>
More information about the Kde-frameworks-devel
mailing list