[tests-only] Added acceptance tests for allow certain groups to create link share#39011
Conversation
|
failed on php-style |
|
Beautiful! 🚀 I would require one more scenario: Multiple groups combinations could also be possible whether in |
I'll add them right away |
|
💥 Acceptance tests pipeline apiProxySmoke-8-2-mariadb10.2-php7.4 failed. The build has been cancelled. |
random failure curl: (6) Could not resolve host: proxy
--
34 | Server on http://proxy is down or not working correctly.
35 | make: *** [test-acceptance-api] Error 98
|
c4021b8 to
d427c77
Compare
|
💥 Acceptance tests pipeline webUISharingPublic2-chrome-mariadb10.2-php7.4 failed. The build has been cancelled. |
|
💥 Acceptance tests pipeline webUISharingPublic2-chrome-mariadb10.2-php7.4 failed. The build has been cancelled. |
bc98b6a to
e9b5017
Compare
|
Random crash again :/ restarted. |
|
Something mixed up, can you rebase ? |
d2f7841 to
0cc97e4
Compare
|
💥 Acceptance tests pipeline webUISharingPublic2-chrome-mariadb10.2-php7.4 failed. The build has been cancelled. |
0cc97e4 to
6ab9a5a
Compare
|
Kudos, SonarCloud Quality Gate passed! |
| And as user "Alice" the file "fileToShare.txt" should not have any shares | ||
|
|
||
|
|
||
| Scenario: creating a new link share is not restricted if no groups are inside the allowed public share sharers groups even if allowlist is enabled |
There was a problem hiding this comment.
This is an interesting scenario. If the admin enables this feature and specifies no groups in the "allow list" then what should happen? Should that mean that there are no users allowed to create public links? (Effectively public links are disabled) Or do we keep the behavior written in this scenario - setting public_share_sharers_groups_allowlist_enabled has no effect in this case.
There was a problem hiding this comment.
@phil-davis I decided myself if public_share_sharers_groups_allowlist_enabled but no groups are set, that there will be no public share restriction, to keep support cases as low as possible.
("Hey we don't see the sharing tab anymore").
But for sure this needs to be addressed in PB2
Description
Acceptance tests have been added to the new feature at #38980
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: