core icon indicating copy to clipboard operation
core copied to clipboard

[Feature Request] [OCC] user:add should be able to set a quota

Open ccoenen opened this issue 8 years ago • 10 comments

Right now, occ user:add has options for setting groups and display names. I would like to suggest adding --quota to the options.

My Motivation I have to provision an OC Install with ~200 users, and being able to set quotas from the commandline would help speed things up. Some of the users will not receive the default quota, and right now, i have to create them and afterwards manually search the "special" users from the admin panel.

ccoenen avatar Mar 27 '16 15:03 ccoenen

One alternative is to use the provisioning API: https://doc.owncloud.org/server/9.0/admin_manual/configuration_user/user_provisioning_api.html

I agree that it would be nice to have it on the OCC CLI too.

PVince81 avatar Mar 29 '16 05:03 PVince81

Thank you for the hint regarding the provisioning API. I have to admit that I didn't know about it, yet! This solves my immediate need.

ccoenen avatar Mar 29 '16 07:03 ccoenen

Also needs quota modify with user:modify

phil-davis avatar Oct 09 '18 09:10 phil-davis

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 20 '21 05:09 stale[bot]

Seems a reasonable thing to me.

phil-davis avatar Sep 20 '21 05:09 phil-davis

+1 against letting this issue die

TripleEmcoder avatar Sep 22 '21 10:09 TripleEmcoder

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Mar 23 '22 01:03 github-actions[bot]

It seems reasonable to me that quota (and any other user attribute) should be able to be set from the command line.

phil-davis avatar Mar 23 '22 04:03 phil-davis

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Sep 20 '22 01:09 github-actions[bot]

*starts staring contest with github-actions bot*

ccoenen avatar Sep 20 '22 06:09 ccoenen

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Mar 21 '23 01:03 github-actions[bot]

Oh no you don't!

TripleEmcoder avatar Mar 21 '23 14:03 TripleEmcoder

I have a solution for you all: submit a pull request. You want this: build it! 🤷

DeepDiver1975 avatar Mar 21 '23 18:03 DeepDiver1975

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Sep 19 '23 01:09 github-actions[bot]

This issue has been automatically closed.

github-actions[bot] avatar Sep 30 '23 01:09 github-actions[bot]

I found this command that works for NextCloud: user:setting layla files quota 1GB

But It doesn't work on ownCloud. Is it too difficult to add this option to ownCloud?

Keram-Yasin avatar Dec 29 '23 09:12 Keram-Yasin

But It doesn't work on ownCloud. Is it too difficult to add this option to ownCloud?

PR welcome.

phil-davis avatar Dec 29 '23 09:12 phil-davis

PR welcome.

I don't understand exactly what PR means. But I will try to dig out the codes to add this option.

Keram-Yasin avatar Dec 29 '23 11:12 Keram-Yasin