GSoC/2017/StatusReports/chinmoyrp: Difference between revisions

From KDE Community Wiki
< GSoC‎ | 2017‎ | StatusReports
(Undo revision 78330 by Chinmoy Ranjan Pradhan (talk))
 
(10 intermediate revisions by the same user not shown)
Line 4: Line 4:


== Work Report ==
== Work Report ==
All the changes have been made to my [https://cgit.kde.org/scratch/chinmoyr/kio-polkit-support.git/ 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.
===Brief===
'''What's working with elevated privileges'''
*File Cut/Copy/Paste
*File/Folder delete
*Rename File
*Create New File/Folder/Link
*Undo
*Drag and Drop


* Added basic KAuth support to the KIO library. [https://phabricator.kde.org/D6197/ D6197] adds additional warnings, support for unit testing this part of code and the KAuth helper.


'''What's not  working  with elevated privileges [TODO]'''
*Mass Rename
*Copying locked folders i.e, folders without the search permission.
*Listing contents of a locked folder
*Trashing files
*Creating archives


I have added support for KAuth to following file operations:
===Code===
* '''Delete'''
* Phabricator task : https://phabricator.kde.org/T6561
[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.
* KIO clone : https://cgit.kde.org/scratch/chinmoyr/kio-polkit-support.git
* '''Rename'''
[https://phabricator.kde.org/D6381 D6381] adds KAuth support to rename operation. [https://phabricator.kde.org/D6382 D6382] provides the dolphin integration.


== Blog Posts ==
=== Blog Posts ===
* [http://blog.chinmoyrp.com/gsoc/2017/05/05/kio-will-get-polkit-support-this-summer/ kio-will-get-polkit-support-this-summer]
* [http://blog.chinmoyrp.com/gsoc/2017/05/05/kio-will-get-polkit-support-this-summer/ KIO will get polkit support this summer]
* [http://blog.chinmoyrp.com/gsoc%20kde/2017/06/18/new-upgrades-in-kio-file-ioslave/ new-upgrades-in-kio-file-ioslave]
* [http://blog.chinmoyrp.com/gsoc%20kde/2017/06/18/new-upgrades-in-kio-file-ioslave/ New updates in KIO file ioslave]
* [http://blog.chinmoyrp.com/gsoc%20kde/2017/07/24/kio-polkit-support-progress-so-far/ Polkit Support in KIO - Progess so far]


== Proposal ==
== Proposal ==
* [https://docs.google.com/document/d/1LhuHwwo_hCziM2-3UsffpODwnjypYQjMnB7YHEQd4dQ/edit?usp=sharing/ GSOC Proposal]
* [https://docs.google.com/document/d/1LhuHwwo_hCziM2-3UsffpODwnjypYQjMnB7YHEQd4dQ/edit?usp=sharing/ GSOC Proposal]

Latest revision as of 16:05, 29 August 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

Brief

What's working with elevated privileges

  • File Cut/Copy/Paste
  • File/Folder delete
  • Rename File
  • Create New File/Folder/Link
  • Undo
  • Drag and Drop


What's not working with elevated privileges [TODO]

  • Mass Rename
  • Copying locked folders i.e, folders without the search permission.
  • Listing contents of a locked folder
  • Trashing files
  • Creating archives

Code

Blog Posts

Proposal