Skip to content
This repository has been archived by the owner on Feb 7, 2018. It is now read-only.

User file quota #23

Open
beheh opened this issue Nov 17, 2014 · 0 comments
Open

User file quota #23

beheh opened this issue Nov 17, 2014 · 0 comments

Comments

@beheh
Copy link
Owner

beheh commented Nov 17, 2014

Users should have a maximum of unreleased files, implemented via SecurityServices requireUploadRights.

if($user->uploadedFiles() > 5) {
    throw new ForbiddenException(gettext('you have too many unreleased files'));
}
@beheh beheh added this to the Initial release milestone Nov 17, 2014
@beheh beheh added the security label Jan 25, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant