Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Private plugin, how to protect only certain pages?

Started by Muut Archive 10 years ago · 5 replies · 1183 views
10 years ago

So I got the private plugin now installed and read the README file for some instructions. I have disabled the plugin for the whole site with "private__site: false"

Now I'm a bit confused on how to protect certain pages. I tried adding "private_tag" to the site.yaml file in the taxonomies part and then adding "privatetag: hidden" in my page markdown file. But the page is not protected. There's not really good instructions for this available...

10 years ago

I got the Private plugin to work now. Looks like all I needed to do was put a "tag: hidden" in my markdown file.

10 years ago

Sorry for asking - I am very new to GRAV...

"Where" do I have to put "what" when I want to restrict access to certain pages (per group (and sometimes per user))?

I haven't found anything on the web what tells me how to hadnle this. If someone can explain this or perhaps has a hint where to read?

Thanks a lot,
Holger

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1366 9 years ago
Archive · by Muut Archive, 9 years ago
2 940 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2960 9 years ago
Archive · by Muut Archive, 9 years ago
3 1125 9 years ago