Jump to:

22972 Posts in 11596 Topics by 2824 members

General Questions

SilverStripe Forums » General Questions » View and edit permissions prevent Json output on production site

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 252 Views
  • Stef87
    Avatar
    Community Member
    66 Posts

    View and edit permissions prevent Json output on production site Link to this post

    SilverStripe 2.4.7

    Hi

    I have developed a site with various pages which can only be viewed by one user group. There is also a JSON output which feeds data to a mobile app.

    All of this works perfectly on the dev server but once I moved it to the production server the JSON feed stopped working. I figured out that it was caused by the setting I had applied in the access area of the page. When I set "can be viewed by" to be "inherit from parent" the json works but my users can't access the page. If I set it to that user group they can do what they are supposed to be able to do but the json stops working.

    I'm confused about why this would be happening on the production server when the same code works on the dev server. I assume that it is to do with the version of PHP or something but I'm not sure.

    Thanks

    Edit
    I've since discovered it is only a problem in safari.

    252 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.