SMF icon indicating copy to clipboard operation
SMF copied to clipboard

Notifications not removed upon board restriction/membergroup change

Open jasonclemons opened this issue 11 years ago • 5 comments

Per this topic: http://www.simplemachines.org/community/index.php?topic=539013.0

Notifications are not being removed for restricted boards after membergroup change.

Also affects 2.0.x, and quite possibly 1.1.x

jasonclemons avatar Aug 17 '15 19:08 jasonclemons

I'll look into this when I get home from work in a few hours. If I remember correctly, SMF does check board access when determining who to notify about new replies. If that's the case, then really the only way this could happen is the notification email got added to the mail queue before the user was removed from the group (in which case there may not be much we can do about it, but I don't remember how info for the mail queue is stored in the database).

Oldiesmann avatar Aug 17 '15 20:08 Oldiesmann

when i have been removed from the team group i have not received email notifications for topics i have on watch.

illori avatar Aug 17 '15 20:08 illori

As I stated in the linked topic, this cannot happen in a clean install unless, as Oldies said, the notification is already in the queue. I'd say there's nothing to fix here ;)

margarett avatar Aug 18 '15 12:08 margarett

I did some further checking and it turns out this can happen (at least in 2.0 - still looking into things for 2.1), but only in a specific situation (the member cannot have any additional (non-primary) groups and the board must be set so that no other groups have access to it besides admins). I've posted a fix for that (and a related issue) for 2.0 in the topic. I'll commit a fix for 2.1 if I can verify that this is still an issue in 2.1 as well.

Oldiesmann avatar Aug 19 '15 18:08 Oldiesmann

Confirmed that this can happen for 2.1 as well. Will commit a fix shortly.

Oldiesmann avatar Aug 19 '15 18:08 Oldiesmann