Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hope to set a limitation for user upload total size #89

Closed
dzw13579 opened this issue Jan 16, 2023 · 8 comments
Closed

hope to set a limitation for user upload total size #89

dzw13579 opened this issue Jan 16, 2023 · 8 comments
Labels
plugin things that won't be covered by HFS directly

Comments

@dzw13579
Copy link

Describe the solution you'd like
for now there is not a limit setting for user upload total size, it's easy to let some bad guy sent a lot of file chock harddisk up. Please add this setting in new version, thank you so much!

@rejetto
Copy link
Owner

rejetto commented Jan 16, 2023

to avoid that problem we need a limit like "minimum disk available", similarly to what we had in hfs2

image

@rejetto rejetto added the enhancement New feature or request label Jan 16, 2023
@dzw13579
Copy link
Author

is that possible(and maybe, easy to achieve without lot of working) making the limitation separately for every single user instead of setting the minimum disk space ?

@rejetto
Copy link
Owner

rejetto commented Jan 16, 2023

like user X can upload 1GB ?

@dzw13579
Copy link
Author

like user X can upload 1GB ?

yeah

@rejetto
Copy link
Owner

rejetto commented Jan 17, 2023

this other sounds like a good idea for a plugin,
with both the possibility to set a default limit and to override setting on a specific account

@rejetto rejetto added plugin things that won't be covered by HFS directly and removed enhancement New feature or request labels Feb 26, 2023
@damienzonly
Copy link
Contributor

damienzonly commented May 30, 2024

@dzw13579 Hi, i made a plugin "upload-quota" here: https://github.com/damienzonly/upload-quota

let me know if it satisfies the requirement.

Note: this plugin needs at least the 0.53.0-beta8 release of HFS, so you'll need to wait a little bit more

@rejetto
Copy link
Owner

rejetto commented May 30, 2024

beta8 was released

@rejetto
Copy link
Owner

rejetto commented Jun 1, 2024

i guess this settles it

@damienzonly i suggest to post here https://github.com/rejetto/hfs/discussions/categories/show-and-tell

@rejetto rejetto closed this as completed Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin things that won't be covered by HFS directly
Projects
None yet
Development

No branches or pull requests

3 participants