(scope, collection string)
| 16 | var _ UserCollectionAccess = &userImpl{} |
| 17 | |
| 18 | func (user *userImpl) CollectionJWTChannels(scope, collection string) ch.TimedSet { |
| 19 | if base.IsDefaultCollection(scope, collection) { |
| 20 | return user.JWTChannels() |
| 21 | } |
| 22 | |
| 23 | if cc, ok := user.getCollectionAccess(scope, collection); ok { |
| 24 | return cc.JWTChannels() |
| 25 | } |
| 26 | return nil |
| 27 | } |
| 28 | |
| 29 | func (user *userImpl) SetCollectionJWTChannels(scope, collection string, channels ch.TimedSet, invalSeq uint64) { |
| 30 | if base.IsDefaultCollection(scope, collection) { |
nothing calls this directly
no test coverage detected