Difference between revisions of "GSoC/2017/StatusReports/chinmoyrp"

< GSoC‎ | 2017‎ | StatusReports
Jump to: navigation, search
(Work Report)
(Work Report)
Line 9: Line 9:
  
  
I have added support for KAuth to following file operations:
+
I have prepared number of patches to add support for KAuth to the following file operations:
 
* '''Delete'''  
 
* '''Delete'''  
 
[https://phabricator.kde.org/D6198/ D6198] adds KAuth support to delete in ioslave and [https://phabricator.kde.org/D6199/ D6199] can be used to test it in dolphin.  
 
[https://phabricator.kde.org/D6198/ D6198] adds KAuth support to delete in ioslave and [https://phabricator.kde.org/D6199/ D6199] can be used to test it in dolphin.  
 
* '''Rename'''
 
* '''Rename'''
 
[https://phabricator.kde.org/D6381 D6381] adds KAuth support to rename operation. [https://phabricator.kde.org/D6382 D6382] provides the dolphin integration.
 
[https://phabricator.kde.org/D6381 D6381] adds KAuth support to rename operation. [https://phabricator.kde.org/D6382 D6382] provides the dolphin integration.
 +
* '''Symlink'''
 +
[https://phabricator.kde.org/D6383 D6383] adds KAuth support to symlink operation.
  
 
== Blog Posts ==
 
== Blog Posts ==

Revision as of 17:19, 25 June 2017

Polkit Support in KIO

Running Qt GUI applications as root is dangerous. Some KDE applications are disabling being executed as root. For example, the next versions of Dolphin and Kate will show an error message and exit when started with root privileges. Polkit is the library made specifically to solve such problems. It is the standard framework used by Linux desktops to grant privileged actions to unprivileged processes. The goal of this project is to add Polkit support in KIO, the library used by KDE applications to manipulate the filesystem.

Work Report

All the changes have been made to my clone of KIO on cgit.kde.org. In this repo each file operation, to which KAuth support had been added, has got branch under its name, like delete operation's branch is 'delete', rename operation's branch is 'rename', so on and so forth. The changes up for reviews are listed below.

  • Added basic KAuth support to the KIO library. D6197 adds additional warnings, support for unit testing this part of code and the KAuth helper.


I have prepared number of patches to add support for KAuth to the following file operations:

  • Delete

D6198 adds KAuth support to delete in ioslave and D6199 can be used to test it in dolphin.

  • Rename

D6381 adds KAuth support to rename operation. D6382 provides the dolphin integration.

  • Symlink

D6383 adds KAuth support to symlink operation.

Blog Posts

Proposal


Content is available under Creative Commons License SA 4.0 unless otherwise noted.