Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #36114: Update documentation about uploadwriteonly permission #36215

Merged
merged 1 commit into from
Sep 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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