Using getTemplate in JSP requires user to be logged in?
Hi
I know business logic in JSPs is bad, but I need to come up with a solution quickly with how the codebase was setup. Anyways, I wanted to execute code only on a certain template so I'm using
currentPage.getTemplate().getTitle().equals("SomeTemplate")I could provide code context but I think its more of permissions issue than a code issue. It only works when I log in, and if I'm not logged in it breaks. What permission do I need to edit to fix this.