filament-knowledge-base icon indicating copy to clipboard operation
filament-knowledge-base copied to clipboard

[Request]: Only Embedded Documentation (Disable Dedicated Panel)

Open lorenzoaiello opened this issue 1 year ago • 1 comments

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

lorenzoaiello avatar Aug 27 '24 12:08 lorenzoaiello

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 avatar Aug 27 '24 13:08 lukas-frey

You can however forbid access to the panel using the canAccessPanel method of your User model. Just return false for the Knowledge Base panel.

lukas-frey avatar Oct 26 '24 11:10 lukas-frey