|
1 | 1 | Feature: user_status |
2 | 2 | Background: |
3 | 3 | Given using api version "2" |
4 | | - And user "user0" exists |
5 | 4 | And user "user0" has status "dnd" |
6 | 5 |
|
7 | 6 | Scenario: listing recent user statuses with default settings |
8 | | - When user "user0" has status "dnd" |
9 | 7 | Then user statuses for "admin" list "user0" with status "dnd" |
10 | 8 |
|
11 | | - Scenario: empty recent user statuses with disabled user enumeration |
12 | | - Given As an "admin" |
| 9 | + Scenario: empty recent user statuses with disabled/limited user enumeration |
13 | 10 | When parameter "shareapi_allow_share_dialog_user_enumeration" of app "core" is set to "no" |
14 | | - And user "user0" has status "dnd" |
15 | 11 | Then user statuses for "admin" are empty |
16 | | - |
17 | | - Scenario: empty recent user statuses with user enumeration limited to common groups |
18 | | - Given As an "admin" |
19 | 12 | When parameter "shareapi_allow_share_dialog_user_enumeration" of app "core" is set to "yes" |
20 | | - And parameter "shareapi_restrict_user_enumeration_to_group" of app "core" is set to "yes" |
21 | | - And user "user0" has status "dnd" |
| 13 | + When parameter "shareapi_restrict_user_enumeration_to_group" of app "core" is set to "yes" |
22 | 14 | Then user statuses for "admin" are empty |
23 | | - |
24 | | - Scenario: empty recent user statuses with user enumeration limited to phone matches |
25 | | - Given As an "admin" |
26 | 15 | When parameter "shareapi_restrict_user_enumeration_to_group" of app "core" is set to "no" |
27 | | - And parameter "shareapi_restrict_user_enumeration_to_phone" of app "core" is set to "yes" |
28 | | - And user "user0" has status "dnd" |
| 16 | + When parameter "shareapi_restrict_user_enumeration_to_phone" of app "core" is set to "yes" |
29 | 17 | Then user statuses for "admin" are empty |
| 18 | + When parameter "shareapi_restrict_user_enumeration_to_phone" of app "core" is set to "no" |
| 19 | + Then user statuses for "admin" list "user0" with status "dnd" |
0 commit comments