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

skipOnLDAP test scenarios that add a user to a group #32441

Merged
merged 1 commit into from
Aug 26, 2018
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 @@ -52,6 +52,7 @@ Feature: Display notifications when receiving a share

# This scenario documents behavior discussed in core issue 31870
# An old share keeps its old auto-accept behavior, even after auto-accept has been disabled.
@skipOnLDAP
Scenario: share to group does not send notifications to either existing or new members for an old share created before auto-accept is disabled
Given user "user0" has shared folder "/PARENT" with group "grp1"
When the administrator sets parameter "shareapi_auto_accept_share" of app "core" to "no"
Expand All @@ -63,6 +64,7 @@ Feature: Display notifications when receiving a share

# This scenario documents behavior discussed in core issue 31870
# As users are added to an existing group, they are not sent notifications about group shares.
@skipOnLDAP
Scenario: share to group sends notifications to existing members, but not to new members, for a share created after auto-accept is disabled
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "no"
When user "user0" shares folder "/PARENT" with group "grp1" using the sharing API
Expand All @@ -87,6 +89,7 @@ Feature: Display notifications when receiving a share
# This scenario documents behavior discussed in core issue 31870
# Similar to the previous scenario, a new user added to the group does not get a notification,
# even though the group, when originally created, had notifications on.
@skipOnLDAP
Scenario: share to group sends notifications to existing members, but not to new members, for an old share created before auto-accept is enabled
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "no"
And user "user0" has shared folder "/PARENT" with group "grp1"
Expand All @@ -109,6 +112,7 @@ Feature: Display notifications when receiving a share
| object_type | /^local_share$/ |
And user "user3" should have 0 notifications

@skipOnLDAP
Scenario: share to group does not send notifications to existing and new members for a share created after auto-accept is enabled
Given parameter "shareapi_auto_accept_share" of app "core" has been set to "yes"
When user "user0" shares folder "/PARENT" with group "grp1" using the sharing API
Expand Down