Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Blog Module /

Discuss the Blog Module.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Should a user who is not logged in be able to post?


Go to End


2 Posts   1943 Views

Avatar
rsouthgate

Community Member, 12 Posts

16 September 2009 at 3:07pm

Hi,
I assumed a non-logged in user who tried to navigate to www.mysite.com/blog/post would be redirected through /Security/login to login and then be able to post through the front end form.

But when I navigate to /blog/post if not logged in I get the following error:

Action 'post' isn't allowed on class BlogHolder_Controller

Is that expected behaviour?

Avatar
LesC

Community Member, 70 Posts

12 November 2009 at 7:20am

I'd be interested in the solution to this too.

I'd prefer it to redirect to the security/login page rather than just display the error.

Cheers