Skip to content

Add shared folder permissions helper

Slava Aseev requested to merge ptrnine/kdenetwork-filesharing:fork into master

This is the continuation of the !16 (closed).

I tried to take into account all points from the original MR.

Now this looks like so: Clicking on Access ComboBoxes occurs reloading of permissions and presents an InlineMessage with a warning if insufficient permissions was detected. InlineMessage contains a Fix Permissions button and clicking on it pushes a new page ChangePermissionsPage.qml to the StackView. This page contains a table with File Path|Current Permissions|Required Permissions columns and buttons Change Permissions/Cancel. Clicking on the Change Permissions occurs actual permissions changing and removes the current page from the StackView. If permissions changing failed an InlineMessage with error will be present on the top of this page.

Doubts:

  • Was the new page on the StackView a good choice? Would it be better to use the OverlaySheet?
  • Is the representation like this rwx------ (0700) really ok? Or we should use something more user-friendly?
Edited by Slava Aseev

Merge request reports