MellonScholarlyCommunication / Solid-Notifications

Ideas and projects about processing Linked Data Notifications within Solid
2 stars 0 forks source link

Multiple inboxes #10

Open Dexagod opened 3 years ago

Dexagod commented 3 years ago

A recurring question in the discussions around Mellon and Solid is the need for multiple inboxes.

Challenges:

RubenVerborgh commented 3 years ago

A recurring question in the discussions around Mellon and Solid is the need for multiple inboxes.

For me, the key is that the sender does not know how the recipient wants to organize their things. Hence, they should look for the most specific inbox they can find, as a general principle; the recipient is free to assign one inbox to all, one inbox to each, or anything in between.

  • Should different applications be able to read each others notifications?

Depends on the recipient. If not desired, set up a routing rule to have app-specific inboxes.

  • Maybe inbox read access should be restricted for applications (save for processing applications), and internal communication for applications should use application specific inboxes

I would expect this to be a common configuration indeed.

That said, if it's a configuration, there are several options.

How do we do resource-based WAC on top of individual LDNs

We do not.

The closest thing we have are:

  • Notifications are primarily aimed at the user or a specific (type of) running application.

Actually, that's only one kind of notifications; user-targeted notifications. I expect those to be a minority, actually.

They're still important, just not primary target.

  • e.g. the email application posts a notification that a new email has been received. The notification is flagged to be only readable by the user. Other applications retrieving all emails from the inbox do not have permission to read this notification and cannot retrieve it.

It makes sense to have a "GUI" inbox that is only user-readable. All GUI notifications can arrive there.

I could have multiple such inboxes. One for specific apps (you've got mail), but perhaps also one for a general "status bar" app that just shows me all notifications (you've got mail and a Tinder match, also your mom called).

  • Potential issue: applications with permissions to read the inbox can see notifications added to the inbox even though they cannot read them (this is an issue if for example you have only 2 applications using the pod and one of them is tracking your notifications).

Then you just adjust your rules and/or permissions.

Not up to us to decide; just to enable.

  • Flexibility

  • If internal communication for an application is done using an application specific inbox,

Hence rules to route them to as many as we want.

Scalability / performance

  • In case all applications write updates to the same inbox, filtering is a must

Yeah, let's not 😄

The way I see it: every notification should only be read once. You read it, you process it. If you're reading something that wasn't for you, either you or the message are in the wrong inbox; both are rule errors.