Ticket #1992 (new enhancement)

Opened 10 years ago

Last modified 9 years ago

Subfolders and "Notify people having local roles only"

Reported by: gracinet Owned by: trac
Priority: P2 Milestone: CPS 3.5.7
Component: CPSSubscriptions Version: TRUNK
Severity: normal Keywords:
Cc:

Description

Long standing issue in my book, but never reported it properly. On the alert management page, there is an option "Notify people having local roles only". This sound very useful to limit recipients of noifications, but the behavior is imho counter-intuitive and not very useful:

Most users would think that the role will be evaluated *from* the folder on which one is managing notifications. Namely, if one checks this option on workspaces/foo on which user bob has the WorkspaceReader role, one would expect (assuming content creations are supposed to be notified to workspace readers) that a creation in workspaces/foo/bar should trigger a notification to bob, and not to people having the WorkspaceReader role in worskpaces.

This is not what happens, because CPSSubscriptions will check for the WorkspaceReader local role in workspaces/foo/bar, and bob's role there is an inherited one.

I don't know any use case where this is wishable and propose that CPSSubscriptions checks for a partially merged local role, namely from the container where the event happens to the container the "local role only" option has been selected.

I suppose that this change of behaviour is not suited for the 3.4 branch

Change History

comment:1 Changed 10 years ago by madarche

Agreed on all points.

comment:2 Changed 10 years ago by gracinet

  • Milestone changed from CPS 3.5.0 to CPS 3.5.1

Soon.

comment:3 Changed 9 years ago by gracinet

  • Milestone changed from CPS 3.5.1 to CPS 3.5.2

Sadly, this'll have to wait till 3.5.2

Note: See TracTickets for help on using tickets.