[Request]: Only Embedded Documentation (Disable Dedicated Panel)
Closed this issue · 2 comments
lorenzoaiello commented
What feature would you like to add?
I'm using this plugin to render documentation within my admin panel, but do not necessarily want the docs panel enabled. It would be great if there was a way to simply disable it altogether without losing the rest of the plugin's functionality.
Notes
No response
lukas-frey commented
Hi, not an ideal solution, but for the time being you can remove the button that leads to the documentation:
$plugin->disableKnowledgeBasePanelButton();
It will still be accessible for people who know the exact URL though.
lukas-frey commented
You can however forbid access to the panel using the canAccessPanel
method of your User model. Just return false for the Knowledge Base panel.