Merge branch 'master' into config-housekeeping-proxy
This commit is contained in:
@@ -73,52 +73,3 @@ Feature: sharing
|
|||||||
| mimetype | httpd/unix-directory |
|
| mimetype | httpd/unix-directory |
|
||||||
And as "Alice" folder "/Alice-folder/folder2" should exist
|
And as "Alice" folder "/Alice-folder/folder2" should exist
|
||||||
And as "Carol" folder "/Carol-folder/folder2" should not exist
|
And as "Carol" folder "/Carol-folder/folder2" should not exist
|
||||||
|
|
||||||
@issue-ocis-reva-350 @issue-ocis-reva-352 @issue-37653
|
|
||||||
# after fixing all issues delete this Scenario and use the one from oC10 core
|
|
||||||
Scenario Outline: API responds with a full set of parameters when owner changes the permission of a share
|
|
||||||
Given using OCS API version "<ocs_api_version>"
|
|
||||||
And user "Brian" has been created with default attributes and without skeleton files
|
|
||||||
And user "Alice" has created folder "/Alice-folder"
|
|
||||||
And user "Alice" has shared folder "/Alice-folder" with user "Brian" with permissions "read"
|
|
||||||
When user "Alice" updates the last share using the sharing API with
|
|
||||||
| permissions | all |
|
|
||||||
Then the OCS status code should be "<ocs_status_code>"
|
|
||||||
And the OCS status message should be "OK"
|
|
||||||
And the HTTP status code should be "200"
|
|
||||||
Then the fields of the last response to user "Alice" sharing with user "Brian" should include
|
|
||||||
| id | A_STRING |
|
|
||||||
| share_type | user |
|
|
||||||
| uid_owner | %username% |
|
|
||||||
| displayname_owner | %displayname% |
|
|
||||||
| permissions | all |
|
|
||||||
| stime | A_NUMBER |
|
|
||||||
| parent | |
|
|
||||||
| expiration | |
|
|
||||||
| token | |
|
|
||||||
| uid_file_owner | %username% |
|
|
||||||
| displayname_file_owner | %displayname% |
|
|
||||||
| additional_info_owner | |
|
|
||||||
| additional_info_file_owner | |
|
|
||||||
| state | 0 |
|
|
||||||
| item_type | folder |
|
|
||||||
| item_source | A_STRING |
|
|
||||||
| path | /Alice-folder |
|
|
||||||
| mimetype | httpd/unix-directory |
|
|
||||||
| storage_id | A_STRING |
|
|
||||||
| storage | 0 |
|
|
||||||
| file_source | A_STRING |
|
|
||||||
| file_target | /Alice-folder |
|
|
||||||
| share_with | %username% |
|
|
||||||
| share_with_displayname | %displayname% |
|
|
||||||
| share_with_additional_info | |
|
|
||||||
| mail_send | 0 |
|
|
||||||
| name | |
|
|
||||||
And the fields of the last response should not include
|
|
||||||
| attributes | |
|
|
||||||
# | token | |
|
|
||||||
# | name | |
|
|
||||||
Examples:
|
|
||||||
| ocs_api_version | ocs_status_code |
|
|
||||||
| 1 | 100 |
|
|
||||||
| 2 | 200 |
|
|
||||||
|
|||||||
Reference in New Issue
Block a user