Opened 15 years ago

Last modified 13 years ago

#89 closed enhancement

Ability to restrict diskspace per user — at Version 7

Reported by: Bernhard Keller Owned by:
Priority: minor Milestone: 0.6.0
Component: programming Keywords:
Cc: Stephen Compall, joar Parent Tickets:

Description (last modified by Christopher Allan Webber)

for example restrict disk space to 500Mb per user

add user.used_space =

check prior to upload if space is exceeded on successful upload add image size to used_space( check size after possible resize/conversion )

Do we use the same restriction for every user, or should it be possible to set a limit for every account ? possible delete option ? ( what happens to comments )

Change History (7)

comment:1 by Christopher Allan Webber, 15 years ago

I think we should be able to have two restrictions: - per user - across the board... if no restriction is explicitly set per user and there's a global restriction, fallback to the global restriction

comment:2 by Elrond, 15 years ago

This sounds like post 0.1.0, when a demo site with public registration is wanted. I'm quite tempted to rate this "Priority Low".

comment:3 by Christopher Allan Webber, 15 years ago

Agree that it's not high priority, pre 0.1.0 it's not really needed. But it wouldn't be bad to have either if someone wanted to work on it. The main thing that's blocking it though is we need to rethink how files are recorded a bit... I really think we need to have models.FileRecord objects, whether those are individual documents each or more likely embedded documents.

comment:4 by Will Kahn-Greene, 14 years ago

The original url for this bug was http://bugs.foocorp.net/issues/375 .

comment:5 by Aleksej, 14 years ago

Component: programming
Type: defectenhancement

comment:6 by Stephen Compall, 13 years ago

Cc: Stephen Compall added

comment:7 by Christopher Allan Webber, 13 years ago

Description: modified (diff)
Owner: Bernhard Keller removed

Removing ownership on this as it hasn't been touched for some time.

Note: See TracTickets for help on using tickets.