gae-init / gae-init-upload

Fork of gae-init with Google Cloud Storage
http://upload.gae-init.appspot.com
MIT License
36 stars 15 forks source link

Ability to Share Uploaded Resources with other Users #19

Closed jaxon closed 8 years ago

jaxon commented 9 years ago

Uploaded resources (files) are currently only visible to the user who uploaded them. How can I turn this restriction off?

The @auth.admin_required is enough for my current requirements.

lipis commented 9 years ago

If you want to show all the resources that are uploaded by any user, then instead this line, https://github.com/gae-init/gae-init-upload/blob/master/main/control/resource.py#L43

you can have something like this:

resource_dbs, resource_cursor = model.Resource.get_dbs()

and remove the @auth.login_required

lipis commented 9 years ago

Is this solved?