@@ -347,3 +347,70 @@ Scenario: Group deletes removes mount with marking
347347 | /user0 /files /textfile0 (2 ).txt / |
348348 When Connecting to dav endpoint
349349 Then Share mounts for "user0" are empty
350+
351+ Scenario : User share mount without marking
352+ Given As an "admin"
353+ And user "user0" exists
354+ And user "user1" exists
355+ And file "textfile0.txt" of user "user1" is shared with user "user0"
356+ And As an "user0"
357+ Then Share mounts for "user0" match
358+ | /user0 /files /textfile0 (2 ).txt / |
359+ When Deleting last share
360+ Then Share mounts for "user0" are empty
361+
362+ Scenario : User share mount with marking
363+ Given As an "admin"
364+ And parameter "update_cutoff_time" of app "files_sharing" is set to "0"
365+ And user "user0" exists
366+ And user "user1" exists
367+ And file "textfile0.txt" of user "user1" is shared with user "user0"
368+ And As an "user0"
369+ Then Share mounts for "user0" are empty
370+ When Connecting to dav endpoint
371+ Then Share mounts for "user0" match
372+ | /user0 /files /textfile0 (2 ).txt / |
373+ When Deleting last share
374+ Then Share mounts for "user0" match
375+ | /user0 /files /textfile0 (2 ).txt / |
376+ When Connecting to dav endpoint
377+ Then Share mounts for "user0" are empty
378+
379+ Scenario : User added/removed to group share without marking
380+ Given As an "admin"
381+ And user "user0" exists
382+ And user "user1" exists
383+ And group "group0" exists
384+ And file "textfile0.txt" of user "user1" is shared with group "group0"
385+ And As an "user0"
386+ Then Share mounts for "user0" are empty
387+ When user "user0" belongs to group "group0"
388+ Then Share mounts for "user0" match
389+ | /user0 /files /textfile0 (2 ).txt / |
390+ When As an "admin"
391+ Then sending "DELETE" to "/cloud/users/user0/groups" with
392+ | groupid | group0 |
393+ Then As an "user0"
394+ And Share mounts for "user0" are empty
395+
396+ Scenario : User added/removed to group share with marking
397+ Given As an "admin"
398+ And parameter "update_cutoff_time" of app "files_sharing" is set to "0"
399+ And user "user0" exists
400+ And user "user1" exists
401+ And group "group0" exists
402+ And file "textfile0.txt" of user "user1" is shared with group "group0"
403+ And As an "user0"
404+ When user "user0" belongs to group "group0"
405+ Then Share mounts for "user0" are empty
406+ When Connecting to dav endpoint
407+ Then Share mounts for "user0" match
408+ | /user0 /files /textfile0 (2 ).txt / |
409+ When As an "admin"
410+ Then sending "DELETE" to "/cloud/users/user0/groups" with
411+ | groupid | group0 |
412+ Then As an "user0"
413+ And Share mounts for "user0" match
414+ | /user0 /files /textfile0 (2 ).txt / |
415+ When Connecting to dav endpoint
416+ Then Share mounts for "user0" are empty
0 commit comments