(scope, collection string, channels base.Set)
| 699 | } |
| 700 | |
| 701 | func (user *userImpl) expandCollectionWildCardChannel(scope, collection string, channels base.Set) (base.Set, error) { |
| 702 | if channels.Contains(ch.AllChannelWildcard) { |
| 703 | allChannels, err := user.InheritedCollectionChannels(scope, collection) |
| 704 | if err != nil { |
| 705 | return nil, err |
| 706 | } |
| 707 | return allChannels.AsSet(), nil |
| 708 | } |
| 709 | return channels, nil |
| 710 | } |
| 711 | |
| 712 | func (user *userImpl) filterToAvailableChannels(channelNames base.Set) (filtered ch.TimedSet, removed []string, err error) { |
| 713 | return user.FilterToAvailableCollectionChannels(base.DefaultScope, base.DefaultCollection, channelNames) |
no test coverage detected