Thanks for your help. I need a add a new permission that will be able to
control users to upload data in the Data section (where the user has to
click on the upload button to upload data) of geonode not in the maps
section. I want to prevent everyone from uploading data to geonode in order
to have data integrity. The system administrator will be the only one to
upload data. What I want to do is when the user clicks on the upload
button, it will be blocked and a message will tell them that he/she is
unable to upload data. However, another way I thought of doing this is to
add a permission to prevent users from uploading data in this section.
Lastly, I have another idea, to code the login section of geonode: If the
username = flower then allow user to upload data else do not allow user to
upload data. I hope you understand what my problem is based on.

Thank you





On Wed, Nov 16, 2011 at 10:02 AM, David Winslow <[email protected]>wrote:

> Here is the documentation on the Django permissions system:
> https://docs.djangoproject.com/en/dev/topics/auth/#id5
>
> You should be able to use it to add a new permission type "upload" for the
> "Layer" table.  You will have to add checks in the appropriate places (I
> think just the upload form) in order for this new permission to be enforced.
>
> --
> David Winslow
> OpenGeo - http://opengeo.org/
>
>
> On Wed, Nov 16, 2011 at 7:50 AM, Kerrisha Nelson <
> [email protected]> wrote:
>
>> Hi, this was the same email I sent yesterday and I got another email
>> telling me that I had to resend my previous request. Here it is:
>>
>> I am currently working with GeoNode and a specific user need has risen. I
>> need to be able to assign users the authority to upload data to GeoNode.
>> Hence, I need to know how to add two new user permissions; allow upload
>> data and restrict upload data.
>>
>>
>> Thank you,
>>
>> Kerrisha
>
>
>

Reply via email to