mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
Give ALL_PRIVILEGES when create a Share with User/Group
This commit is contained in:
parent
ed89b915ae
commit
fc2ac6445d
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue