Skip to content

Commit

Permalink
Fix #36114: documentation about uploadwriteonly permission
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry committed Sep 24, 2019
1 parent d2eb8c2 commit b7a15c2
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 b7a15c2

Please sign in to comment.