Check permissions in RecordAdvancedNotications

Check permissions when using advanced notifications
Partly fixing https://github.com/vanillaforums/Garden/pull/1740