<table><tr><td style="">chinmoyr updated this revision to Diff 24578.<br />chinmoyr added a comment.
</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/D6829" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>1.Added method privilegeOperationUnitTestMode. This replaces the previous block of code which<br />
tested the validity of the KAuth action by looking up the action in *.policy file. I think instead of looking <br />
for some external files its better to test if the job has the flag for privilege operation set and has a <br />
parent job as well (in case of subjob). The method requestPrivilegeOperation is there for this exact purpose.<br />
So for the purpose of unit test checking return value of requestPrivilegeOperation should be <br />
sufficient.</p>
<ol class="remarkup-list" start="2">
<li class="remarkup-list-item">Fixed compilation issue on windows. (There was a mismatch in signature of execWithElavatedPrivileges)</li>
<li class="remarkup-list-item">Changed API version to 5.43</li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D6829?vs=20610&id=24578" rel="noreferrer">https://phabricator.kde.org/D6829?vs=20610&id=24578</a></div></div><br /><div><strong>BRANCH</strong><div><div>6829</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6829" rel="noreferrer">https://phabricator.kde.org/D6829</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/core/global.h<br />
src/core/slavebase.cpp<br />
src/core/slavebase.h<br />
src/core/slaveinterface.cpp<br />
src/core/slaveinterface.h<br />
src/ioslaves/file/file.h<br />
src/ioslaves/file/file_p.h<br />
src/ioslaves/file/file_unix.cpp<br />
src/ioslaves/file/file_win.cpp</div></div></div><br /><div><strong>To: </strong>chinmoyr, dfaure, Frameworks<br /><strong>Cc: </strong>Frameworks<br /></div>