How to add route with permission navbar?

How navbar works?) I add web page in py script i use context.item = frappe.get_doc(), and when i go to this page without login, just like Guest, i see all of reciving document but docType have permission only for system user. how to add permission on the route?