Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Limiting Blog Access

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1142 Views
  • Garrett
    Avatar
    Community Member
    245 Posts

    Limiting Blog Access Link to this post

    Hi,

    Is there a way to make the Blog read-only to public users of a site? In other words, to disable the "Post a new blog entry" concept? I want my blog to be contributed to by internal users only, and they can create the entries from within the CMS. Normal users of the site, or, really ANY user, should just be able to READ the blog.

    Thanks,
    Garrett

  • UncleCheese
    Avatar
    4085 Posts

    Re: Limiting Blog Access Link to this post

    That's kind of messed up if public users are getting the management widget. Are you sure you're not logged in as an administrator when that's happening?

  • Garrett
    Avatar
    Community Member
    245 Posts

    Re: Limiting Blog Access Link to this post

    No, no-- I AM an Admin. An additional problem is that I don't know how NOT to be an Admin! In other words, this is a public site, so there IS no log in; therefore, my local development environment reflects what it would be like to be on the siet on the wide open internet (does it not?). So I am wondering why "Post a new blog entry" is showing up. I don't want to be able to post ON the site itself-- ONLY through the CMS. How can this be achieved?

    Thanks again,
    Garrett

  • Garrett
    Avatar
    Community Member
    245 Posts

    Re: Limiting Blog Access Link to this post

    To clarify-- EVERYONE will be a "public user".

    Thanks,
    Garrett

  • UncleCheese
    Avatar
    4085 Posts

    Re: Limiting Blog Access Link to this post

    Try logging out to see what the site looks like without admin perms. Remember, logging in to Silverstripe is not just about using the CMS. It also entitles you to any limited access areas on the public site, including blog posting. You may want to try viewing the site in another browser if you've got a cookie that's keeping you constantly logged in. Otherwise, just going into the CMS and clicking on logout will take out out of admin mode.

    I really wouldn't waste your time worrying about non-admin users seeing the blog management widget, or even being able to get to the /post/ function without being prompted for a login. That's all handled by Silverstripe.

  • Garrett
    Avatar
    Community Member
    245 Posts

    Re: Limiting Blog Access Link to this post

    I went ahead and logged out of the CMS. I understand now. My browser was probably automatically loggnig in since another instance already had a session in the CMS. Makes sense.

    Thanks a million!

    //Garrett

    1142 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.