Hi,

I am trying to access Entity Registrations ( http://drupal.org/project/registration ) thru [domain]/registration/1.json but I get 403 forbidden. I use the admin account, so I should have all the rights I need.

I printed the $resource variable used in line 121 of restws.module. $resource->access($op, $id) just return blank.

RestWSEntityResourceController Object
(
    [entityType:protected] => registration
    [entityInfo:protected] => Array
        (
            [label] => Registration
            [plural label] => Registrations
            [controller class] => EntityAPIController
            [entity class] => RegistrationEntity
            [metadata controller class] => RegistrationMetadataController
            [views controller class] => RegistrationViewsController
            [base table] => registration
            [fieldable] => 1
            [entity keys] => Array
                (
                    [id] => registration_id
                    [bundle] => type
                    [revision] => 
                )

            [bundle keys] => Array
                (
                    [bundle] => name
                )

            [bundles] => Array
                (
                    [default] => Array
                        (
                            [label] => Default
                            [admin] => Array
                                (
                                    [path] => admin/structure/registration_types/manage/%registration_type
                                    [real path] => admin/structure/registration_types/manage/default
                                    [bundle argument] => 4
                                    [access arguments] => Array
                                        (
                                            [0] => administer registration types
                                        )

                                )

                        )

                )

            [view modes] => Array
                (
                    [full] => Array
                        (
                            [label] => Full Registration
                            [custom settings] => 
                        )

                )

            [uri callback] => registration_uri
            [token type] => registration
            [module] => registration
            [static cache] => 1
            [field cache] => 1
            [load hook] => registration_load
            [translation] => Array
                (
                )

            [schema_fields_sql] => Array
                (
                    [base table] => Array
                        (
                            [0] => registration_id
                            [1] => type
                            [2] => entity_id
                            [3] => entity_type
                            [4] => mail
                            [5] => count
                            [6] => author_uid
                            [7] => created
                            [8] => updated
                        )

                )

            [configuration] => 
        )

)