From: masensio Date: Thu, 29 Oct 2015 10:01:16 +0000 (+0100) Subject: Give ALL_PRIVILEGES when create a Share with User/Group X-Git-Tag: oc-android-1.9^2~30^2~9 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/fc2ac6445d2c3948afef34d83c7d3c822c424376?ds=inline Give ALL_PRIVILEGES when create a Share with User/Group --- diff --git a/src/com/owncloud/android/operations/CreateShareWithShareeOperation.java b/src/com/owncloud/android/operations/CreateShareWithShareeOperation.java index 861393cf..9b71695e 100644 --- a/src/com/owncloud/android/operations/CreateShareWithShareeOperation.java +++ b/src/com/owncloud/android/operations/CreateShareWithShareeOperation.java @@ -39,6 +39,7 @@ import com.owncloud.android.operations.common.SyncOperation; public class CreateShareWithShareeOperation extends SyncOperation { private static final int READ_ONLY = 1; + private static final int ALL_PRIVILEGES = 31; protected FileDataStorageManager mStorageManager; @@ -79,7 +80,7 @@ public class CreateShareWithShareeOperation extends SyncOperation { mShareeName, false, "", - READ_ONLY + ALL_PRIVILEGES ); operation.setGetShareDetails(true); RemoteOperationResult result = operation.execute(client);