@baris Great ! Many thanks ! Exactly what I needed and it works (of course... 😉 ).
how to set 'ignoring category' as default while a new user coming
Use https://github.com/NodeBB/nodebb-plugin-category-optin but beware if you have thousands of categories and millions of users this plugin will create a lot of entries in the database.