Craft-User-Manual icon indicating copy to clipboard operation
Craft-User-Manual copied to clipboard

Toggle to disable front-end visibility of docs

Open lindseydiloreto opened this issue 4 years ago • 0 comments

First let me say, fantastic plugin! I've been using it for years and it's very reliable.

I actually came here to file this FR, and stumbled across a related thread that hit a lot of the same topics. In fact, this comment sums it all up...

The User Guide pages should not be accessible from the front-end of the site.

I guess it's cool that the data is accessible from the front-end, but I personally don't think I'd ever use it that way. If there was just a simple way to switch off the front-end visibility, that would be great.

I know we can add this snippet to our templates...

{%  if not currentUser %}
  {% redirect '/' %}
{% endif %}

... but that just feels like unnecessary clutter for something that should be handled automatically.

If you have to choose between #15 and this ticket, I would much rather you fix that ticket the way Daryl proposed. Like I said, I personally don't think I'd ever need to use this plugin to manage documentation on the front-end... there's no need for a toggle if you just kill off front-end access entirely.

Thanks for all your hard work! 🙂

lindseydiloreto avatar Jun 01 '20 20:06 lindseydiloreto