Add new feature : Password protect on page and/or post

Hello World,

I would like to request a new feature.
It is possible to add a login/password (or just password) for a page (or page and post).
I read it can be possible to share link of my draft post. But i will display post on menu or in my feed, but restrict them with password or user/password.

Regards,

It’s not a standard feature, no.

I’m speculating here, but I wonder if you could tag them with something like private and then create a new route for that tag, with a NGINX rule with basic auth or something.

Otherwise you’d be looking at consuming the content API to create your own routes, with password protection etc…

Hmmmm. Is not a simple way :)

If you are not a SysOps, or you haven’t access to NGINX conf, or create rules are not easy for users, I think it is a better way to have a password page/post protection.
Grav use plugin for add this feature : GitHub - Diyzzuf/grav-plugin-private: Private is a Grav Plugin. It provide an authentification form to keep private your Grav site or part of it

I think it’s a good feature. If you want to protect pages with your team for example ? or share secret content ?!

Regard,