Page 1 of 1

How to limit quota on "My Document"

PostPosted:Thu Sep 02, 2010 3:01 am
by surajaya
Hello,

Is there any way to limit the quota to "My Document" in openkm for each user. Another alternative, is there any way to disable "my document" in openkm ?.

Thanks

Re: How to limit quota on "My Document"

PostPosted:Thu Sep 02, 2010 6:30 am
by jllort
In vesion 5.0 it's possible to dissable any panel to each user separatelly using profiles, we'll release in next week first beta. In version 5.0 it's included quote limit.

In version 4.x that's not possible

Re: How to limit quota on "My Document"

PostPosted:Mon Aug 01, 2011 4:36 am
by chang.x.wang
I have same question about quota, can you clear that how to setup the quote limit.

Thanks!

Re: How to limit quota on "My Document"

PostPosted:Tue Aug 02, 2011 3:05 pm
by jllort
If you only want to considering my documents quota, from version 5.1.X that can be done. Basically must be implemented some extralogic as a core extension, the idea is so simply:

1- On each preCreate must execute the logic
if document contains in path okm:personal then
get quota from user
if user quota + new file size > max quota for that user then raise error

2- You could use metadata to store that user quota.
3- Must considering deleting document too ...

Information about extension http://wiki.openkm.com/index.php/Extension_Guide
Information about core extension http://wiki.openkm.com/index.php/Core_extensions

If you need profesional support for doing it you can contact with us at www.openkm.com/Contact