MM-63791: guest permissions to teams (#30789)
* improve th.CreateGuestAndClient * test coverage for guest user access to teams * restrict guest access to public teams unless a member
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
79561c44c2
Коммит
701ddc896a
@@ -4102,7 +4102,7 @@ func TestAddChannelMemberGuestAccessControl(t *testing.T) {
|
||||
th.App.Srv().SetLicense(model.NewTestLicense())
|
||||
|
||||
// Create a guest user
|
||||
guest, guestClient := th.CreateGuestAndClient()
|
||||
guest, guestClient := th.CreateGuestAndClient(t)
|
||||
|
||||
// Create a public channel to which the guest doesn't belong
|
||||
publicChannel := th.CreatePublicChannel()
|
||||
|
||||
Ссылка в новой задаче
Block a user