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

Allow user to post


Go to End


4 Posts   2608 Views

Avatar
arnott

Community Member, 16 Posts

22 August 2009 at 1:23am

Edited: 22/08/2009 1:27am

hi,
Am new to sliverstripe. Is it possible to give access permissions to a user, so that the user can only post in the blog and not have any admin rights ?

Thanks,
arnott

Avatar
publisher

Community Member, 1 Post

29 August 2009 at 9:53pm

Same question. I want to allow only registered users to comment and comment only. How do we do this?

Thanks for any help.

Avatar
Willr

Forum Moderator, 5523 Posts

29 August 2009 at 10:39pm

publisher - if you want users to have to login to comment you can set the following methods in your mysite/_config file

PageCommentInterface::set_comments_require_login(true); // require any logged in member

// OR If you only want specific members
PageCommentInterface::set_comments_require_permission('PAGECOMMENT_POST'); // where PAGECOMMENT_POST is your permission code (which you can set in the groups cms panel)

Avatar
DrWebGuy

Community Member, 16 Posts

31 August 2009 at 5:29pm

To arnott's question I would add that I have the same question - not about page comments but about an actual user who has the ability to post blog entries but no other administrative rights. Any suggestions on how to get this done?