fixed markAsUnreadForAll permissions