Opened 8 years ago

Closed 8 years ago

#27786 closed New feature (invalid)

Uploading dependent on the user

Reported by: Victor Porton Owned by: nobody
Component: File uploads/storage Version: 1.10
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I want uploading files to depend on the user ID in the session.

I need it to make files uploaded by a user not accessible by other users (without a special permission).

I realize this requires massive changes in Django API. Particularly, we need to associate a user (or a session) with every ModelForm (in order that the save() method could be able to behave differently for different users.

It also requires changes in storage API itself.

Please discuss the details of the API.

Change History (1)

comment:1 by Claude Paroz, 8 years ago

Resolution: invalid
Status: newclosed

What you describe are the general requirements of your application. We are not going to specifically tailor Django to your needs.

However, if you can describe a generic use case which might require some change in Django itself, feel free to discuss it on mailing lists, then create a ticket with the proposal if you can get some common agreement on that new feature.

Note: See TracTickets for help on using tickets.
Back to Top