MM-14897: Changes to be able to add and remove groups from channels. (#10794)
* MM-15162: Changes for LDAP groups removals phase. * MM-14897: Changes to be able to add and remove groups from channels. * Update model/client4.go * MM-14897: PR-requested change to string interpolation.
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
dd33bc13a7
Коммит
1b78f9debc
@@ -128,7 +128,7 @@ func channelGroupEnableCmdF(command *cobra.Command, args []string) error {
|
||||
return errors.New("Unable to find channel '" + args[0] + "'")
|
||||
}
|
||||
|
||||
groups, appErr := a.GetGroupsByChannel(channel.Id, 0, 9999)
|
||||
groups, _, appErr := a.GetGroupsByChannel(channel.Id, model.GroupSearchOpts{})
|
||||
if appErr != nil {
|
||||
return appErr
|
||||
}
|
||||
@@ -198,7 +198,7 @@ func channelGroupListCmdF(command *cobra.Command, args []string) error {
|
||||
return errors.New("Unable to find channel '" + args[0] + "'")
|
||||
}
|
||||
|
||||
groups, appErr := a.GetGroupsByChannel(channel.Id, 0, 9999)
|
||||
groups, _, appErr := a.GetGroupsByChannel(channel.Id, model.GroupSearchOpts{})
|
||||
if appErr != nil {
|
||||
return appErr
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user