GeoNode/geonode — pull request #718 by capooti (2013-01-17 13:49:26+00:00)
Title: Now layer owner can edit itself in any case, 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