Is there any authorization mechanism in docusaurus? In my case not everyone should have access to the documentation
Skimmed through the official documentaion and couldn't find the answer to my question
As far as I know, now it is not possible. For more details take a look at GitHub issue.
To quote the part that is relevant to you: "Docusaurus builds a static site. IE the content is exactly the same for all users.
If you want different content displayed for different user roles, you have to:
Remember all these are concerns that are outside the scope of Docusaurus. In the end, we just build a static React site."