[GeoNode-devel] Deny upload for a group of users

Paolo Corti pcorti at gmail.com
Tue Dec 11 14:07:13 PST 2018


You should be able to accomplish this without forking GeoNode using
Django groups and customizing your templates. For example create 2
groups, one named "uploaders" and the other "not-uploaders". Make sure
the first group has the can add/change/edit/delete layer permissions
while the second not.
In your custom project templates hide links to the layer
administrative pages (layer upload, layer change metadata) when a user
belongs to the not-uploader group. As a last thing, add a signal in
your custom project to add each user to the not-uploader group when
she/he registers.
Hope this helps
Paolo

On Mon, Dec 10, 2018 at 2:58 PM Emídio Fernandes <ebueno at spacesur.com> wrote:
>
> hello everyone!!, i would like to know if it's possible deny a certain group of users to upload any data(vectorial, raster and document) to Geonode. Something like a viewer user
>
> tanks
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-devel



-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti


More information about the geonode-devel mailing list