Skip to content

Commit

Permalink
Merge pull request #36215 from owncloud/fix-36114-uploadwriteonly
Browse files Browse the repository at this point in the history
Fix #36114: Update documentation about uploadwriteonly permission
  • Loading branch information
skshetry authored Sep 25, 2019
2 parents d2eb8c2 + 12519e6 commit 31ea320
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
11 changes: 3 additions & 8 deletions tests/TestHelpers/SharingHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,10 @@ class SharingHelper {
* share with.
* @param string|int|string[]|int[]|null $permissions The permissions to set on the share.
* 1 = read; 2 = update; 4 = create;
* 8 = delete; 16 = share; 31 = all
* 15 = change
* 5 = uploadwriteonly
* 8 = delete; 16 = share
* (default: 31, for public shares: 1)
* Pass either the (total) number,
* or the keyword,
* or an array of keywords or numbers.
* Pass either the (total) number or array of numbers,
* or any of the above keywords or array of keywords.
* @param string|null $linkName A (human-readable) name for the share,
* which can be up to 64 characters in length.
* @param string|null $expireDate **NOT IMPLEMENTED**
Expand Down Expand Up @@ -156,9 +153,7 @@ public static function createShare(
* 'update' => 2
* 'create' => 4
* 'delete' => 8
* 'change' => 15
* 'share' => 16
* 'all' => 31
*
* @param string[]|string|int|int[] $permissions
*
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/bootstrap/Sharing.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ private function waitToCreateShare() {
* | | 1 = read; 2 = update; 4 = create; |
* | | 8 = delete; 16 = share; 31 = all |
* | | 15 = change |
* | | 7 = uploadwriteonly |
* | | 5 = uploadwriteonly |
* | | (default: 31, for public shares: 1) |
* | | Pass either the (total) number, |
* | | or the keyword, |
Expand Down

0 comments on commit 31ea320

Please sign in to comment.