cancel
Showing results for 
Search instead for 
Did you mean: 

Default User Quota

rickiferbarros
Champ in-the-making
Champ in-the-making
Hello.

Anybody knows some way to set a default quota for all users or specific user groups? The only reference that I could find was this link http://jared.ottleys.net/alfresco/alfresco-default-quota-policy but I can't make it work at 4.2.d Community version. There's another practical solution?

Thanks.
23 REPLIES 23

Maybe if your user is created before installing the addon has no the right aspect applied.

Create a new user and test it again.

Hyland Developer Evangelist

The user has been created after the installation of the addon.
For all of the users created before installing the addon, ther is no quota on their home folder.

I'll raise an issue at GitHub

Thanks you very much.

I added some pictures in the home folder of my user test "quota"

When I execute :

curl -v -u admin:admin "http://192.168.1.30:8080/alfresco/service/keensoft/myfiles/quota/{quota}"

I get :

{"quota":104857600,"currentSize":21256673}

When I look at the user in the Admin tools, there is no information for the Quota field.

angelborroy
Community Manager Community Manager
Community Manager

It works.

Tested for 201707.

The problem is you are setting a quota of 100 MB, so you have still around 80 MB available.

Hyland Developer Evangelist

I'm so confused

What a stupid mistake

Thank you so much for your help

In Spain, we say: "Sometimes four eyes can see better than two" 😉

Hyland Developer Evangelist

phattq
Champ in-the-making
Champ in-the-making

Hello Angel Borroy

How to change quota for a user exits on Home Folder?

I did your guide by execute command:

curl -v -u admin:admin -H 'Content-Type: application/json' -d '{"quota":"104857600"}' "http://localhost:8080/alfresco/service/keensoft/myfiles/quota/{username}"

But i get error:


Please help me fix this issue.

Thanks,
Phat

The API URL is

http://localhost:8080/alfresco/service/keensoft/myfiles/quota/ 

After that, you have to include the ID of the user. So finally, it should be something like:

http://localhost:8080/alfresco/service/keensoft/myfiles/quota/pat.tran 

Not sure if that dot in the name is going to work, anyway...

Hyland Developer Evangelist

phattq
Champ in-the-making
Champ in-the-making

Thanks Angel Borroy, i fixed this issue.

 

How to change default quota of all users who were created before i install this add-on?

 

Thanks,

Phat

Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.