<table><tr><td style="">chinmoyr created this revision.<br />Restricted Application added a project: Frameworks.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D6197" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This patch adds the relevant KAuth code to file ioslave that can be used to perform various file management operations with escalated privilege.<br />
<em>execWithRoot()</em> : This method performs the specified operation as root<br />
<em>warningMessage()</em>: Decides upon the warning message. As of yet it only has warning for the delete operation.<br />
<em>showWarning()</em>: Shows the warning.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6197" rel="noreferrer">https://phabricator.kde.org/D6197</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/ioslaves/file/CMakeLists.txt<br />
src/ioslaves/file/file.cpp<br />
src/ioslaves/file/file.h<br />
src/ioslaves/file/file_unix.cpp<br />
src/ioslaves/file/kauth/CMakeLists.txt<br />
src/ioslaves/file/kauth/file.actions<br />
src/ioslaves/file/kauth/helper.cpp<br />
src/ioslaves/file/kauth/helper.h</div></div></div><br /><div><strong>To: </strong>chinmoyr, elvisangelaccio, Frameworks<br /></div>