diff options
author | Christian Kamm <mail@ckamm.de> | 2016-03-30 12:33:34 +0300 |
---|---|---|
committer | Christian Kamm <mail@ckamm.de> | 2016-04-14 10:44:37 +0300 |
commit | 910c61b4923b645dd3e2d144e37f935913e9f416 (patch) | |
tree | b6b5aed9ba18a9955682bc29e1ccfa8fd4088228 /src/gui/ocssharejob.h | |
parent | a4f606ceab6b68837ff96a378055f948736ad189 (diff) |
Disable unavailable sharing permissions #4383
Users can't reshare with more permissions than they have themselves.
Diffstat (limited to 'src/gui/ocssharejob.h')
-rw-r--r-- | src/gui/ocssharejob.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/ocssharejob.h b/src/gui/ocssharejob.h index 36d505ac4..ebf1885e8 100644 --- a/src/gui/ocssharejob.h +++ b/src/gui/ocssharejob.h @@ -101,7 +101,7 @@ public: void createShare(const QString& path, const Share::ShareType shareType, const QString& shareWith = "", - const Share::Permissions permissions = Share::PermissionRead); + const Share::Permissions permissions = SharePermissionRead); /** * Returns information on the items shared with the current user. |