You need to hide/unhide menu according to user role.
Add and modify nav_main_sub() function into your theme file
Here you can internally use conditional display by using qa_get_logged_in_level(). So finally your code should be this
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.
April 20, 2021: Q2A 1.8.6 released!