This module needs a way to define which set of users receive the message notifications as well as control over which message types are to be broadcast. I'm thinking that we can leverage permissions, along with the channel broadcast built in to nodejs integration module. Getting the granularity for organic groups may still be a trick, but I think this should start simple stuff and move on from there.

A few quick (and maybe not so quick todo's):

  • alter the message entity for to give the option to broadcast per message type see admin/structure/messages/manage/
  • permissions to allow notifications on a per role basis
  • add a channel to the current broadcast

A few questions, and places to dig a bit deeper

  • Does this need to correlate to adding sets of users to channels, or just simple broadcasting across a role?
  • If we do subscribe users to a channel, how best to manage that? Should it be done programmatically based on granting a role or permission, or should it be more manual as it currently is at nodejs/user/channel/add?
  • What is message module giving us as far as OG context awareness? Can we leverage this for granularity of broadcast?

Further commits are forthcoming, and development on some of these ideas may split out to other issues. I'm just using this issue to get some thoughts down, and to provide a starting point of filling this thing out.

Above all else:

Keep It Simple!

Comments

rho_’s picture

I have added the option to broadcast per message type to the message type form at admin/structure/messages/manage/[message_type]

rho_’s picture

Status: Active » Fixed

I'm closing this brainstorm issue.

I wound up implementing a couple of permissions. One to administer the notification settings, and another to allow a role to receive messagejs notifications.

The OG implementations are on hold until I further research the "typical" message integration with OG.

As is, I believe this module is in a usable state.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.