(hub *Hub)
| 216 | ) |
| 217 | |
| 218 | func (t *Topic) run(hub *Hub) { |
| 219 | if !t.isProxy { |
| 220 | t.runLocal(hub) |
| 221 | } else { |
| 222 | t.runProxy(hub) |
| 223 | } |
| 224 | } |
| 225 | |
| 226 | // getPerUserAcs returns `want` and `given` permissions for the given user id. |
| 227 | func (t *Topic) getPerUserAcs(uid types.Uid) (types.AccessMode, types.AccessMode) { |