User Folder for Uploads

96 views
Skip to first unread message

Matteo Gaddoni

unread,
Jan 28, 2010, 10:39:00 AM1/28/10
to Django FileBrowser
I everyone again.

I would like to know if and how is possible to
point every user to a custom/personal folder for uploads,
instead of having all the users uploading to same root folder.

Thanks for any reply will come and for the great job done here.

Matteo

patrickk

unread,
Jan 28, 2010, 10:46:23 AM1/28/10
to Django FileBrowser
hi matteo,

with "user" you mean "trusted editor", right? we´re talking about the
integration of the filebrowser with the admin-interface, not some
frontend-stuff. do we?

generally speaking, it´s possible, but you need to hack the
filebrowser (e.g., use the user-id as the folder).

but ... why would you store files within a personal editors folder?
what if one editor quits?

regards,
patrick

Matteo Gaddoni

unread,
Jan 28, 2010, 10:49:40 AM1/28/10
to djangofi...@googlegroups.com
Well, I'm planning to use the djangofilebrowser and tinyMCE integration
in frontend site, not admin.

That's why every user there should see only his own folders/files.

It's possible someway?

> --
> You received this message because you are subscribed to the Google Groups "Django FileBrowser" group.
> To post to this group, send email to djangofi...@googlegroups.com.
> To unsubscribe from this group, send email to djangofilebrow...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/djangofilebrowser?hl=en.
>
>

patrickk

unread,
Jan 28, 2010, 10:51:42 AM1/28/10
to Django FileBrowser
then it´s even easier. just give every user a folder (e.g. with the
user-id).

then change the browser-view of the filebrowser and check if the user
is within the right-folder. if not, redirect to his/her folder.

regards,
patrick


On Jan 28, 4:49 pm, Matteo Gaddoni <gad...@gmail.com> wrote:
> Well, I'm planning to use the djangofilebrowser and tinyMCE integration
> in frontend site, not admin.
>
> That's why every user there should see only his own folders/files.
>
> It's possible someway?
>

Matteo Gaddoni

unread,
Jan 28, 2010, 11:32:01 AM1/28/10
to djangofi...@googlegroups.com
Thank you Patrick for the quick reply.
Can you please point me to the right point
where I should apply this hack?

thanks...

patrickk

unread,
Jan 28, 2010, 11:40:07 AM1/28/10
to Django FileBrowser
filebrowser.views.browse ... that´s what I suggest, but there´s
different ways to do it.

regards,
patrick


On Jan 28, 5:32 pm, Matteo Gaddoni <gad...@gmail.com> wrote:
> Thank you Patrick for the quick reply.
> Can you please point me to the right point
> where I should apply this hack?
>
> thanks...
>

李波

unread,
Jan 11, 2013, 9:28:53 AM1/11/13
to djangofi...@googlegroups.com, m.ga...@gmail.com
hi,

This problem has been solved?  I would like to know how to do?


在 2010年1月28日星期四UTC+8下午11时39分00秒,Matteo Gaddoni写道:

Martino Massalini

unread,
Apr 18, 2014, 5:07:53 AM4/18/14
to djangofi...@googlegroups.com, m.ga...@gmail.com
Any news on that?
Reply all
Reply to author
Forward
0 new messages