Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,27 @@ Feature: sharing
| 1 | 100 |
| 2 | 200 |

@public_link_share-feature-required
Scenario Outline: Getting the share information of public link share form OCS API does not expose sensitive information
Given using OCS API version "<ocs_api_version>"
When user "user0" creates a public link share using the sharing API with settings
| path | welcome.txt |
Then the OCS status code should be "<ocs_status_code>"
And the HTTP status code should be "200"
And the share fields of the last share should include
| file_target | /welcome.txt |
| path | /welcome.txt |
| item_type | file |
| share_type | 3 |
| permissions | 1 |
| uid_owner | user0 |
| share_with | ***redacted*** |
| share_with_displayname | ***redacted*** |
Examples:
| ocs_api_version | ocs_status_code |
| 1 | 100 |
| 2 | 200 |

Scenario Outline: Creating a new share with a disabled user
Given using OCS API version "<ocs_api_version>"
And user "user1" has been created with default attributes
Expand Down