<table><tr><td style="">chinmoyr created this revision.
</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/D7563" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>"privilegeExecution" field will specify if protocol can perform file operation with elevated privileges.</p>
<p>Dolphin relies on <tt style="background: #ebebeb; font-size: 13px;">KFileItemListProperties</tt> for enabling some of its context menu actions. Internally <tt style="background: #ebebeb; font-size: 13px;">KFileItemListProperties</tt> uses <tt style="background: #ebebeb; font-size: 13px;">KProtocolManager</tt> to determine if a location supports reading, writing,<br />
deleting and moving. With these changes <tt style="background: #ebebeb; font-size: 13px;">KProtocolManager</tt> will now check for the said field. Consequently, dolphin will be aware of our new file protocol and will show its context menu without any <br />
action being disabled.</p></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7563" rel="noreferrer">https://phabricator.kde.org/D7563</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/core/kfileitemlistproperties.cpp<br />
src/core/kprotocolinfo.cpp<br />
src/core/kprotocolinfo_p.h<br />
src/core/kprotocolmanager.cpp<br />
src/core/kprotocolmanager.h<br />
src/ioslaves/file/file.json</div></div></div><br /><div><strong>To: </strong>chinmoyr, Frameworks, dfaure<br /><strong>Cc: </strong>elvisangelaccio<br /></div>