I'm trying to use RESTfulServer as described in the Silverstripe book (from page 221 onwards).
Even when using the code example
static $api_access = array( 'view' => array( 'FirstName', 'Surname', 'Region', 'Introduction', 'References', ), 'edit' => array( 'FirstName', 'Surname', 'Region', 'Introduction', ) );
I only get this message:
You don't have access to this item through the API.
I also tried using the code and URLs described here: http://doc.silverstripe.org/doku.php?id=restfulserver
I don't really know how to get this working. Any tips on debugging this?