Add exclusive filters
Last modified by Ilie Andriuta on 2023/06/23 11:50
Steps to reproduce
- Set up the Email server for your XWiki instance
- Create the following pages: "a/b/c/d/e/"
- Login with an user (U1)
- Set a valid email address for U1
- Click on the Notifications bell
- Make sure the Watch Notifications toggles are ON
- Click on Settings, in the right side of Notifications
- Select Daily for "Email Frequency"
- In the 'Applications' section make sure all Notifications toggles are ON (e.g. for Pages, both for 'Notification menu' and for 'Email')
- Click on the "Add filter" button from the Custom Filters section
- Location -> Page "c": "Home/a/b/c/"
- Action -> Ignore the event
- Events type (Pages) -> A page is modified
- Channel -> Alert
- Click on the "Add filter" button from the Custom Filters section
- Location -> Page "d": "Home/a/b/c/d/"
- Action -> Ignore the event
- Events type (Pages) -> A page is modified
- Channel -> Email
- Login with Admin
- Update the pages: 'a','b','c','d' and 'e'
- Trigger the "Notifications daily email" job from Scheduler.WebHome
- Login with U1
- Look at the notification list
- Check U1's received emails
Expected results
- On the notification list only the update events for pages 'a' and 'b' are displayed.
- On the received email, only the update events for pages 'a', 'b' and 'c' are displayed.