nickberens360 / atomic-docs

Front end code documentation generator. http://atomicdocs.io/
GNU General Public License v3.0
781 stars 92 forks source link

Suggestion: add user privileges #52

Open malithmcr opened 6 years ago

malithmcr commented 6 years ago

Hey, Thanks for this great tool.

I want to share a documentation(made with atomic-docs) with some of my team members, mainly designers, but I don't want them to edit any of components. I'd suggest to add user privileges on frontend or it would be nice to have possibility to turn off editing feature from frontend.

Thanks

nickberens360 commented 6 years ago

Hi @malithmcr that is definitely on the roadmap for the next version!

As a work around you can go into atomic-core/footer.php and look for the following code block near the bottom of the file.

<?php //Uncomment the following include to enable client mode. //include "clientmode.php" ?>

Simply uncomment the include and the will turn off editing capabilities. Let me know if you have any further questions!