[GeoNode-devel] Remove Edit Document button if no permission to do so

Jonathan Doig j.doig at unsw.edu.au
Wed May 10 18:10:52 PDT 2017


Hi devs

On the Documents tab, the Edit Document button appears regardless of permissions. When clicked it offers a useless (empty) dialog. It should be hidden if the user has no permission to edit metadata or manage (update) the document. This is how the Layers tab already behaves. (Tested in version 2.4).

Raised as issue #3040<https://github.com/GeoNode/geonode/issues/3040>.

Regards
Jonathan

[Title: City Futures - Description: City Futures Logo]

Jonathan Doig
Software Engineer, City Futures Research Centre
Built Environment

UNSW SYDNEY NSW 2052 AUSTRALIA
T: +61 (2) 9385 5319
E: j.doig at unsw.edu.au<mailto:j.doig at unsw.edu.au>

W: cityfutures.net.au<http://www.cityfutures.net.au/>


CRICOS Provider Code 00098G
Think green: Please consider the environment before printing this email

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20170511/c1856760/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 9121 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20170511/c1856760/attachment-0001.png>


More information about the geonode-devel mailing list