Reputation: 198
Hello my fellow developers. I need help with permissions for Wagtail site. So my situation is this, I need to create pages that required the user to be logged in. The problem is that django permissions revolve around views. Wagtail does not views but classes (Page Model).
So these private pages will be under '/portal/'. I don't know how many pages there will be. I am hoping to continue wagtails for creating dynamic pages.
Upvotes: 4
Views: 1314
Reputation: 25227
From the edit page in the admin interface, click Privacy (Public) in the top right corner, then select "Private, accessible to logged-in users". Further documentation here: https://docs.wagtail.io/en/v2.3/advanced_topics/privacy.html
Upvotes: 4