You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sharing-v1.feature 23KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632
  1. Feature: sharing
  2. Background:
  3. Given using api version "1"
  4. Given using old dav path
  5. Scenario: Creating a new share with user
  6. Given user "user0" exists
  7. And user "user1" exists
  8. And As an "user0"
  9. When creating a share with
  10. | path | welcome.txt |
  11. | shareWith | user1 |
  12. | shareType | 0 |
  13. Then the OCS status code should be "100"
  14. And the HTTP status code should be "200"
  15. And The following headers should be set
  16. | Content-Security-Policy | default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none' |
  17. Scenario: Creating a share with a group
  18. Given user "user0" exists
  19. And user "user1" exists
  20. And group "sharing-group" exists
  21. And As an "user0"
  22. When creating a share with
  23. | path | welcome.txt |
  24. | shareWith | sharing-group |
  25. | shareType | 1 |
  26. Then the OCS status code should be "100"
  27. And the HTTP status code should be "200"
  28. Scenario: Creating a new share with user who already received a share through their group
  29. Given As an "admin"
  30. And user "user0" exists
  31. And user "user1" exists
  32. And group "sharing-group" exists
  33. And user "user1" belongs to group "sharing-group"
  34. And file "welcome.txt" of user "user0" is shared with group "sharing-group"
  35. And user "user1" accepts last share
  36. And As an "user0"
  37. Then creating a share with
  38. | path | welcome.txt |
  39. | shareWith | user1 |
  40. | shareType | 0 |
  41. Then the OCS status code should be "100"
  42. And the HTTP status code should be "200"
  43. Scenario: Creating a new room share when Talk is not enabled
  44. Given As an "admin"
  45. And app "spreed" is not enabled
  46. And user "user0" exists
  47. And As an "user0"
  48. When creating a share with
  49. | path | welcome.txt |
  50. | shareWith | a-room-token |
  51. | shareType | 10 |
  52. Then the OCS status code should be "403"
  53. And the HTTP status code should be "200"
  54. Scenario: Creating a new mail share
  55. Given dummy mail server is listening
  56. And user "user0" exists
  57. And As an "user0"
  58. When creating a share with
  59. | path | welcome.txt |
  60. | shareType | 4 |
  61. | shareWith | dumy@test.com |
  62. Then the OCS status code should be "100"
  63. And the HTTP status code should be "200"
  64. And last share can be downloaded
  65. Scenario: Creating a new mail share with password
  66. Given dummy mail server is listening
  67. And user "user0" exists
  68. And As an "user0"
  69. When creating a share with
  70. | path | welcome.txt |
  71. | shareType | 4 |
  72. | shareWith | dumy@test.com |
  73. | password | publicpw |
  74. Then the OCS status code should be "100"
  75. And the HTTP status code should be "200"
  76. And last share with password "publicpw" can be downloaded
  77. Scenario: Creating a new mail share with password when password protection is enforced
  78. Given dummy mail server is listening
  79. And As an "admin"
  80. And parameter "shareapi_enforce_links_password" of app "core" is set to "yes"
  81. And user "user0" exists
  82. And As an "user0"
  83. When creating a share with
  84. | path | welcome.txt |
  85. | shareType | 4 |
  86. | shareWith | dumy@test.com |
  87. | password | publicpw |
  88. Then the OCS status code should be "100"
  89. And the HTTP status code should be "200"
  90. And last share with password "publicpw" can be downloaded
  91. Scenario: Creating a new mail share and setting a password
  92. Given dummy mail server is listening
  93. And user "user0" exists
  94. And As an "user0"
  95. When creating a share with
  96. | path | welcome.txt |
  97. | shareType | 4 |
  98. | shareWith | dumy@test.com |
  99. And Updating last share with
  100. | password | publicpw |
  101. Then the OCS status code should be "100"
  102. And the HTTP status code should be "200"
  103. And last share with password "publicpw" can be downloaded
  104. Scenario: Creating a new mail share and setting a password twice
  105. Given dummy mail server is listening
  106. And user "user0" exists
  107. And As an "user0"
  108. When creating a share with
  109. | path | welcome.txt |
  110. | shareType | 4 |
  111. | shareWith | dumy@test.com |
  112. And Updating last share with
  113. | password | publicpw |
  114. And Updating last share with
  115. | password | another publicpw |
  116. Then the OCS status code should be "100"
  117. And the HTTP status code should be "200"
  118. And last share with password "another publicpw" can be downloaded
  119. Scenario: Creating a new mail share and setting the same password twice
  120. Given dummy mail server is listening
  121. And user "user0" exists
  122. And As an "user0"
  123. When creating a share with
  124. | path | welcome.txt |
  125. | shareType | 4 |
  126. | shareWith | dumy@test.com |
  127. And Updating last share with
  128. | password | publicpw |
  129. And Updating last share with
  130. | password | publicpw |
  131. Then the OCS status code should be "100"
  132. And the HTTP status code should be "200"
  133. And last share with password "publicpw" can be downloaded
  134. Scenario: Creating a new public share
  135. Given user "user0" exists
  136. And As an "user0"
  137. When creating a share with
  138. | path | welcome.txt |
  139. | shareType | 3 |
  140. Then the OCS status code should be "100"
  141. And the HTTP status code should be "200"
  142. And last link share can be downloaded
  143. Scenario: Creating a new public share with password
  144. Given user "user0" exists
  145. And As an "user0"
  146. When creating a share with
  147. | path | welcome.txt |
  148. | shareType | 3 |
  149. | password | publicpw |
  150. Then the OCS status code should be "100"
  151. And the HTTP status code should be "200"
  152. And last share with password "publicpw" can be downloaded
  153. Scenario: Creating a new public share of a folder
  154. Given user "user0" exists
  155. And As an "user0"
  156. When creating a share with
  157. | path | FOLDER |
  158. | shareType | 3 |
  159. | password | publicpw |
  160. | expireDate | +3 days |
  161. | publicUpload | true |
  162. | permissions | 7 |
  163. Then the OCS status code should be "100"
  164. And the HTTP status code should be "200"
  165. And Share fields of last share match with
  166. | id | A_NUMBER |
  167. | permissions | 31 |
  168. | expiration | +3 days |
  169. | url | AN_URL |
  170. | token | A_TOKEN |
  171. | mimetype | httpd/unix-directory |
  172. Scenario: Creating a new public share with password and adding an expiration date
  173. Given user "user0" exists
  174. And As an "user0"
  175. When creating a share with
  176. | path | welcome.txt |
  177. | shareType | 3 |
  178. | password | publicpw |
  179. And Updating last share with
  180. | expireDate | +3 days |
  181. Then the OCS status code should be "100"
  182. And the HTTP status code should be "200"
  183. And last share with password "publicpw" can be downloaded
  184. Scenario: Creating a new public share, updating its expiration date and getting its info
  185. Given user "user0" exists
  186. And As an "user0"
  187. When creating a share with
  188. | path | FOLDER |
  189. | shareType | 3 |
  190. And Updating last share with
  191. | expireDate | +3 days |
  192. And the OCS status code should be "100"
  193. And the HTTP status code should be "200"
  194. And Getting info of last share
  195. Then the OCS status code should be "100"
  196. And the HTTP status code should be "200"
  197. And Share fields of last share match with
  198. | id | A_NUMBER |
  199. | item_type | folder |
  200. | item_source | A_NUMBER |
  201. | share_type | 3 |
  202. | file_source | A_NUMBER |
  203. | file_target | /FOLDER |
  204. | permissions | 17 |
  205. | stime | A_NUMBER |
  206. | expiration | +3 days |
  207. | token | A_TOKEN |
  208. | storage | A_NUMBER |
  209. | mail_send | 0 |
  210. | uid_owner | user0 |
  211. | storage_id | home::user0 |
  212. | file_parent | A_NUMBER |
  213. | displayname_owner | user0 |
  214. | url | AN_URL |
  215. | mimetype | httpd/unix-directory |
  216. Scenario: Creating a new share with expiration date removed, when default expiration is set
  217. Given user "user0" exists
  218. And user "user1" exists
  219. And parameter "shareapi_default_expire_date" of app "core" is set to "yes"
  220. And As an "user0"
  221. When creating a share with
  222. | path | welcome.txt |
  223. | shareWith | user1 |
  224. | shareType | 0 |
  225. | expireDate | |
  226. Then the OCS status code should be "100"
  227. And the HTTP status code should be "200"
  228. And Getting info of last share
  229. Then the OCS status code should be "100"
  230. And the HTTP status code should be "200"
  231. And Share fields of last share match with
  232. | expiration ||
  233. Scenario: Creating a new public share, updating its password and getting its info
  234. Given user "user0" exists
  235. And As an "user0"
  236. When creating a share with
  237. | path | FOLDER |
  238. | shareType | 3 |
  239. And Updating last share with
  240. | password | publicpw |
  241. And the OCS status code should be "100"
  242. And the HTTP status code should be "200"
  243. And Getting info of last share
  244. Then the OCS status code should be "100"
  245. And the HTTP status code should be "200"
  246. And Share fields of last share match with
  247. | id | A_NUMBER |
  248. | item_type | folder |
  249. | item_source | A_NUMBER |
  250. | share_type | 3 |
  251. | file_source | A_NUMBER |
  252. | file_target | /FOLDER |
  253. | permissions | 17 |
  254. | stime | A_NUMBER |
  255. | token | A_TOKEN |
  256. | storage | A_NUMBER |
  257. | mail_send | 0 |
  258. | uid_owner | user0 |
  259. | storage_id | home::user0 |
  260. | file_parent | A_NUMBER |
  261. | displayname_owner | user0 |
  262. | url | AN_URL |
  263. | mimetype | httpd/unix-directory |
  264. Scenario: Creating a new public share, updating its permissions and getting its info
  265. Given user "user0" exists
  266. And As an "user0"
  267. When creating a share with
  268. | path | FOLDER |
  269. | shareType | 3 |
  270. And Updating last share with
  271. | permissions | 7 |
  272. | publicUpload | true |
  273. And the OCS status code should be "100"
  274. And the HTTP status code should be "200"
  275. And Getting info of last share
  276. Then the OCS status code should be "100"
  277. And the HTTP status code should be "200"
  278. And Share fields of last share match with
  279. | id | A_NUMBER |
  280. | item_type | folder |
  281. | item_source | A_NUMBER |
  282. | share_type | 3 |
  283. | file_source | A_NUMBER |
  284. | file_target | /FOLDER |
  285. | permissions | 31 |
  286. | stime | A_NUMBER |
  287. | token | A_TOKEN |
  288. | storage | A_NUMBER |
  289. | mail_send | 0 |
  290. | uid_owner | user0 |
  291. | storage_id | home::user0 |
  292. | file_parent | A_NUMBER |
  293. | displayname_owner | user0 |
  294. | url | AN_URL |
  295. | mimetype | httpd/unix-directory |
  296. Scenario: Creating a new public share, updating its permissions for "hide file list"
  297. Given user "user0" exists
  298. And As an "user0"
  299. When creating a share with
  300. | path | FOLDER |
  301. | shareType | 3 |
  302. And Updating last share with
  303. | permissions | 4 |
  304. And the OCS status code should be "100"
  305. And the HTTP status code should be "200"
  306. And Getting info of last share
  307. Then the OCS status code should be "100"
  308. And the HTTP status code should be "200"
  309. And Share fields of last share match with
  310. | id | A_NUMBER |
  311. | item_type | folder |
  312. | item_source | A_NUMBER |
  313. | share_type | 3 |
  314. | file_source | A_NUMBER |
  315. | file_target | /FOLDER |
  316. | permissions | 4 |
  317. | stime | A_NUMBER |
  318. | token | A_TOKEN |
  319. | storage | A_NUMBER |
  320. | mail_send | 0 |
  321. | uid_owner | user0 |
  322. | storage_id | home::user0 |
  323. | file_parent | A_NUMBER |
  324. | displayname_owner | user0 |
  325. | url | AN_URL |
  326. | mimetype | httpd/unix-directory |
  327. Scenario: Creating a new public share, updating publicUpload option and getting its info
  328. Given user "user0" exists
  329. And As an "user0"
  330. When creating a share with
  331. | path | FOLDER |
  332. | shareType | 3 |
  333. And Updating last share with
  334. | publicUpload | true |
  335. And the OCS status code should be "100"
  336. And the HTTP status code should be "200"
  337. And Getting info of last share
  338. Then the OCS status code should be "100"
  339. And the HTTP status code should be "200"
  340. And Share fields of last share match with
  341. | id | A_NUMBER |
  342. | item_type | folder |
  343. | item_source | A_NUMBER |
  344. | share_type | 3 |
  345. | file_source | A_NUMBER |
  346. | file_target | /FOLDER |
  347. | permissions | 31 |
  348. | stime | A_NUMBER |
  349. | token | A_TOKEN |
  350. | storage | A_NUMBER |
  351. | mail_send | 0 |
  352. | uid_owner | user0 |
  353. | storage_id | home::user0 |
  354. | file_parent | A_NUMBER |
  355. | displayname_owner | user0 |
  356. | url | AN_URL |
  357. | mimetype | httpd/unix-directory |
  358. Scenario: Creating a new share of a file with default permissions
  359. Given user "user0" exists
  360. And user "user1" exists
  361. And As an "user0"
  362. And parameter "shareapi_default_permissions" of app "core" is set to "7"
  363. When creating a share with
  364. | path | welcome.txt |
  365. | shareWith | user1 |
  366. | shareType | 0 |
  367. And the OCS status code should be "100"
  368. And the HTTP status code should be "200"
  369. And Getting info of last share
  370. Then the OCS status code should be "100"
  371. And the HTTP status code should be "200"
  372. And Share fields of last share match with
  373. | permissions | 3 |
  374. Scenario: Creating a new share of a folder with default permissions
  375. Given user "user0" exists
  376. And user "user1" exists
  377. And As an "user0"
  378. And parameter "shareapi_default_permissions" of app "core" is set to "7"
  379. When creating a share with
  380. | path | FOLDER |
  381. | shareWith | user1 |
  382. | shareType | 0 |
  383. And the OCS status code should be "100"
  384. And the HTTP status code should be "200"
  385. And Getting info of last share
  386. Then the OCS status code should be "100"
  387. And the HTTP status code should be "200"
  388. And Share fields of last share match with
  389. | permissions | 7 |
  390. Scenario: Creating a new internal share with default expiration date
  391. Given user "user0" exists
  392. And user "user1" exists
  393. And As an "user0"
  394. And parameter "shareapi_default_internal_expire_date" of app "core" is set to "yes"
  395. And parameter "shareapi_internal_expire_after_n_days" of app "core" is set to "3"
  396. When creating a share with
  397. | path | welcome.txt |
  398. | shareWith | user1 |
  399. | shareType | 0 |
  400. And the OCS status code should be "100"
  401. And the HTTP status code should be "200"
  402. And Getting info of last share
  403. Then the OCS status code should be "100"
  404. And the HTTP status code should be "200"
  405. And Share fields of last share match with
  406. | expiration | +3 days |
  407. Scenario: Creating a new internal share with relaxed default expiration date
  408. Given user "user0" exists
  409. And user "user1" exists
  410. And As an "user0"
  411. And parameter "shareapi_default_internal_expire_date" of app "core" is set to "yes"
  412. And parameter "shareapi_internal_expire_after_n_days" of app "core" is set to "3"
  413. And parameter "internal_defaultExpDays" of app "core" is set to "1"
  414. When creating a share with
  415. | path | welcome.txt |
  416. | shareWith | user1 |
  417. | shareType | 0 |
  418. And the OCS status code should be "100"
  419. And the HTTP status code should be "200"
  420. And Getting info of last share
  421. Then the OCS status code should be "100"
  422. And the HTTP status code should be "200"
  423. And Share fields of last share match with
  424. | expiration | +1 days |
  425. Scenario: Creating a new internal share with relaxed default expiration date too large
  426. Given user "user0" exists
  427. And user "user1" exists
  428. And As an "user0"
  429. And parameter "shareapi_default_internal_expire_date" of app "core" is set to "yes"
  430. And parameter "shareapi_internal_expire_after_n_days" of app "core" is set to "3"
  431. And parameter "internal_defaultExpDays" of app "core" is set to "10"
  432. When creating a share with
  433. | path | welcome.txt |
  434. | shareWith | user1 |
  435. | shareType | 0 |
  436. And the OCS status code should be "100"
  437. And the HTTP status code should be "200"
  438. And Getting info of last share
  439. Then the OCS status code should be "100"
  440. And the HTTP status code should be "200"
  441. And Share fields of last share match with
  442. | expiration | +3 days |
  443. Scenario: Creating a new link share with default expiration date
  444. Given user "user0" exists
  445. And As an "user0"
  446. And parameter "shareapi_default_expire_date" of app "core" is set to "yes"
  447. And parameter "shareapi_expire_after_n_days" of app "core" is set to "3"
  448. When creating a share with
  449. | path | welcome.txt |
  450. | shareType | 3 |
  451. And the OCS status code should be "100"
  452. And the HTTP status code should be "200"
  453. And Getting info of last share
  454. Then the OCS status code should be "100"
  455. And the HTTP status code should be "200"
  456. And Share fields of last share match with
  457. | expiration | +3 days |
  458. Scenario: Creating a new link share with relaxed default expiration date
  459. Given user "user0" exists
  460. And As an "user0"
  461. And parameter "shareapi_default_expire_date" of app "core" is set to "yes"
  462. And parameter "shareapi_expire_after_n_days" of app "core" is set to "3"
  463. And parameter "link_defaultExpDays" of app "core" is set to "1"
  464. When creating a share with
  465. | path | welcome.txt |
  466. | shareType | 3 |
  467. And the OCS status code should be "100"
  468. And the HTTP status code should be "200"
  469. And Getting info of last share
  470. Then the OCS status code should be "100"
  471. And the HTTP status code should be "200"
  472. And Share fields of last share match with
  473. | expiration | +1 days |
  474. Scenario: Creating a new link share with relaxed default expiration date too large
  475. Given user "user0" exists
  476. And As an "user0"
  477. And parameter "shareapi_default_expire_date" of app "core" is set to "yes"
  478. And parameter "shareapi_expire_after_n_days" of app "core" is set to "3"
  479. And parameter "link_defaultExpDays" of app "core" is set to "10"
  480. When creating a share with
  481. | path | welcome.txt |
  482. | shareType | 3 |
  483. And the OCS status code should be "100"
  484. And the HTTP status code should be "200"
  485. And Getting info of last share
  486. Then the OCS status code should be "100"
  487. And the HTTP status code should be "200"
  488. And Share fields of last share match with
  489. | expiration | +3 days |
  490. Scenario: getting all shares of a user using that user
  491. Given user "user0" exists
  492. And user "user1" exists
  493. And file "textfile0.txt" of user "user0" is shared with user "user1"
  494. And As an "user0"
  495. When sending "GET" to "/apps/files_sharing/api/v1/shares"
  496. Then the OCS status code should be "100"
  497. And the HTTP status code should be "200"
  498. And File "textfile0.txt" should be included in the response
  499. Scenario: getting all shares of a user using another user
  500. Given user "user0" exists
  501. And user "user1" exists
  502. And file "textfile0.txt" of user "user0" is shared with user "user1"
  503. And As an "admin"
  504. When sending "GET" to "/apps/files_sharing/api/v1/shares"
  505. Then the OCS status code should be "100"
  506. And the HTTP status code should be "200"
  507. And File "textfile0.txt" should not be included in the response
  508. Scenario: getting all shares of a file
  509. Given user "user0" exists
  510. And user "user1" exists
  511. And user "user2" exists
  512. And user "user3" exists
  513. And file "textfile0.txt" of user "user0" is shared with user "user1"
  514. And file "textfile0.txt" of user "user0" is shared with user "user2"
  515. And As an "user0"
  516. When sending "GET" to "/apps/files_sharing/api/v1/shares?path=textfile0.txt"
  517. Then the OCS status code should be "100"
  518. And the HTTP status code should be "200"
  519. And User "user1" should be included in the response
  520. And User "user2" should be included in the response
  521. And User "user3" should not be included in the response
  522. Scenario: getting all shares of a file with a user with resharing rights but not yourself
  523. Given user "user0" exists
  524. And user "user1" exists
  525. And user "user2" exists
  526. And user "user3" exists
  527. And file "textfile0.txt" of user "user0" is shared with user "user1"
  528. And user "user1" accepts last share
  529. And file "textfile0.txt" of user "user0" is shared with user "user2"
  530. And As an "user1"
  531. When sending "GET" to "/apps/files_sharing/api/v1/shares?path=textfile0 (2).txt&reshares=true"
  532. Then the OCS status code should be "100"
  533. And the HTTP status code should be "200"
  534. And User "user1" should not be included in the response
  535. And User "user2" should be included in the response
  536. And User "user3" should not be included in the response
  537. Scenario: getting inherited shares of a file
  538. Given user "user0" exists
  539. And user "user1" exists
  540. And user "user2" exists
  541. And user "user3" exists
  542. # will be shared with user1
  543. And User "user0" created a folder "/first"
  544. # will be shared with user1, user2
  545. And User "user0" created a folder "/first/second"
  546. # will be shared with user1, user3
  547. And User "user0" uploads file "data/textfile.txt" to "/first/test1.txt"
  548. # will be shared with user1, user2, user3
  549. And User "user0" uploads file "data/textfile.txt" to "/first/second/test2.txt"
  550. And As an "user0"
  551. And creating a share with
  552. | path | /first |
  553. | shareType | 0 |
  554. | shareWith | user1 |
  555. | permissions | 16 |
  556. And As an "user1"
  557. And accepting last share
  558. And folder "first/second" of user "user0" is shared with user "user2"
  559. And file "first/test1.txt" of user "user0" is shared with user "user3"
  560. And file "first/second/test2.txt" of user "user0" is shared with user "user3"
  561. # get inherited shares from the owner PoV
  562. And As an "user0"
  563. When sending "GET" to "/apps/files_sharing/api/v1/shares/inherited?path=first/second/test2.txt"
  564. Then the OCS status code should be "100"
  565. And the HTTP status code should be "200"
  566. And User "user0" should not be included in the response
  567. And User "user1" should be included in the response
  568. And User "user2" should be included in the response
  569. And User "user3" should not be included in the response
  570. When sending "GET" to "/apps/files_sharing/api/v1/shares/inherited?path=first/test1.txt"
  571. Then the OCS status code should be "100"
  572. And the HTTP status code should be "200"
  573. And User "user0" should not be included in the response
  574. And User "user1" should be included in the response
  575. And User "user2" should not be included in the response
  576. And User "user3" should not be included in the response
  577. # get inherited shares from the a user with no shares rights
  578. And As an "user2"
  579. When sending "GET" to "/apps/files_sharing/api/v1/shares/inherited?path=first/test1.txt"
  580. Then the OCS status code should be "404"
  581. And the HTTP status code should be "200"
  582. # get inherited shares from the PoV of a user with resharing rights (user1)
  583. And As an "user1"
  584. When sending "GET" to "/apps/files_sharing/api/v1/shares/inherited?path=first/second/test2.txt"
  585. Then the OCS status code should be "100"
  586. And the HTTP status code should be "200"
  587. And User "user0" should not be included in the response
  588. And User "user1" should not be included in the response
  589. And User "user2" should be included in the response
  590. And User "user3" should not be included in the response
  591. When sending "GET" to "/apps/files_sharing/api/v1/shares/inherited?path=first/test1.txt"
  592. Then the OCS status code should be "100"
  593. And the HTTP status code should be "200"
  594. And User "user0" should not be included in the response
  595. And User "user1" should not be included in the response
  596. And User "user2" should not be included in the response
  597. And User "user3" should not be included in the response
  598. # See sharing-v1-part2.feature