jrief / django-websocket-redis

Websockets for Django applications using Redis as message queue
http://django-websocket-redis.awesto.com/
MIT License
896 stars 222 forks source link

Publish rights #174

Open iskhakovt opened 8 years ago

iskhakovt commented 8 years ago

Is there a way to allow to publish to a channel for specific users?

Currently publish/publish-group/publish-user may be added to url for WebSocket on client side, is there a way to prohibit it?

jrief commented 8 years ago

yes, put those users into a group and publish only into that group.

Currently there is no such thing as a channel, ie. kind of temporary group, but it would be quite easy to implement.

iskhakovt commented 8 years ago

No, I meant to create a group with different rights -- publisher and subscriber, who is allowed only to receive messages.

jrief commented 8 years ago

OK, git it. This would have to be implemented.