GeoNode/geoserver-geonode-ext — pull request #12 by cspanring (2013-10-02 18:53:49+00:00)
Title: Updates geonode_authorize_layer procedure to new data schema (abstract inheritance)

there is no layer.id since layer inherits from resourcebase in the new schema. ditto for layer.owner_id.