D7563: Add privilegeExecution field to file protocol description

Chinmoy Ranjan Pradhan noreply at phabricator.kde.org
Sat Aug 26 17:45:43 UTC 2017


chinmoyr created this revision.

REVISION SUMMARY
  "privilegeExecution" field will specify if protocol can perform file operation with elevated privileges.
  
  Dolphin relies on `KFileItemListProperties` for enabling some of its context menu actions. Internally `KFileItemListProperties`  uses `KProtocolManager` to determine if a location supports reading, writing,
  deleting  and moving. With these changes  `KProtocolManager` 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 
  action being disabled.

BRANCH
  master

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

AFFECTED FILES
  src/core/kfileitemlistproperties.cpp
  src/core/kprotocolinfo.cpp
  src/core/kprotocolinfo_p.h
  src/core/kprotocolmanager.cpp
  src/core/kprotocolmanager.h
  src/ioslaves/file/file.json

To: chinmoyr, #frameworks, dfaure
Cc: elvisangelaccio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170826/d1eb045f/attachment.html>


More information about the Kde-frameworks-devel mailing list