I don't know if it would be a good idea to introduce something like a file owner concept within these file folder objects only. ILIAS would store the owner of every file within the file folder objects.
This would be kind of a permission substructure that would not interfere directly with RBAC, ...".
I had some more discussions about this topic with our IT department.
There appear to be some caveats when we assign quotas to file folder resources only:
- If a user has the permission to create a file folder object, we can not prevent him from creating as many file folder objects as he wants to. Therefore the user can easily circumvent the quota.
- We can not determine which user is hogging disk space. Therefore, if overall disk usage on the server reaches a limit, we can not tell which users should remove some of their files from the system.
- We can not prevent users from using too much disk space in other resource types (mail attachments, media objects, forum attachments, ... ).
Maybe it might be better to add a transferable ownership concept to ILIAS objects?
- Each object has an attribute 'owner'.
- Ownership would be independent of access permissions. It would just be a field in table 'object_data'.
- The user who creates a specific object becomes its owner.
- Ownership of an object can be transferred from one user to another, but there can only be one user at a given time, who can own a specific object.
- Shared resources, such as file folders, fora, media pools may have a finder grained ownership mechanism. In order to prevent that a user of the shared resource can 'steal' disk space from the owner of the resource.
- Each user account has an individually configurable disk quota.
- The amount of disk space used by a user would be determined, by adding up the space used by each of the owned resources.
- Users can not create new objects, if they have exceeded their disk quota. In this case, they receive a meaningful error message, so that they can take action without needing to talk back to the system administrator.
- Users can query their disk usage.
- User administrators can query the disk usage of other users.
What do you think?