I am trying to build a site that is only accessible by users with registered account.
They will be able to view announcements posted by administrators.
From my exploration in ERPnext, the only feature that allow this is the web form.
Is there anyone that can point me in the right direction?
Thank you!
@anand, I am facing some issue usring frappe.PermissionError with the web view that is created via Web Generator. The permission error is able to work only once, after i bench restart it. Subsequently, the page is totally public.
Here is my code:
from future import unicode_literals
import frappe
from frappe import _
from frappe.model.document import Document
from frappe.website.website_generator import WebsiteGenerator
from frappe.website.render import clear_cache
class Meeting1(WebsiteGenerator):
website = frappe._dict(
template = “www/meeting.html”
)