GeoNode/geonode — pull request #720 by capooti (2013-01-17 16:16:29+00:00)
Title: Now layer owner can edit it, refs #663

The layer (and more general, the object) owner now will always be able to edit it. The has_perm auth method will work like this for every object (map, layer, document etc).
Need some code review to understand if I adopted the correct approach, as I am new to geonode.security