Just a noob question, but cant this be done by assigning the right permissions 
to that user? (or even create a group with this permission and adding this 
user to that group?)

Coding security like this does not look right.

rgds,
reinier


> I am editing the upload/data section of GeoNode. I want only the system
> administration to upload data to GeoNode. I want to create a code in the
> uploadhandler.py to allow a specfic user to upload. If any other user want
> to upload, they will not be able to. Therefore, I need a python syntax that
> will refer to a specific username.
> 
> On Sun, Nov 20, 2011 at 6:24 PM, Jeffrey Johnson 
<[email protected]>wrote:
> 
> > Kerrisha,
> >
> > Are you making your own new model class? Not exactly sure what you are
> > trying to do, but if you can provide more detail, we are happy to help
> > you figure it out.
> >
> > Jeff
> >
> > On Mon, Nov 21, 2011 at 9:20 AM, Kerrisha Nelson
> > <[email protected]> wrote:
> > > How do I make a reference to a specific user in geonode specifically in
> > the
> > > django administration portion?
> > >
> > > Thanks
> >
> 
-- 
rgds,

Reinier Battenberg
Director
Mountbatten Ltd.
+256 758 801 749
www.mountbatten.net
http://twitter.com/batje
http://twitter.com/mapuganda


Reply via email to