mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-15 02:54:06 +02:00
# Description of Changes Change Stirling Engine to support deleting documents automatically. This happens both on user logout and after an amount of time specified by the Java when ingesting a document (allowing for personal documents to have short lifetimes but org documents to be left in the db with no expiry date). Also sets up an [ACL policy](https://en.wikipedia.org/wiki/Access-control_list) for the documents so the database knows which users have access to which documents. This is not fully implemented in the Java, so currently all docs are treated as having a single owner, the uploader, but theoretically when we need to support org storage, we shouldn't need to change the db schema.
16 lines
329 B
Python
16 lines
329 B
Python
from . import tool_models
|
|
from .base import ApiModel, FileId, OwnerId, PrincipalId, UserId
|
|
from .tool_models import OPERATIONS, ParamToolModel, ToolEndpoint
|
|
|
|
__all__ = [
|
|
"ApiModel",
|
|
"FileId",
|
|
"OPERATIONS",
|
|
"OwnerId",
|
|
"ParamToolModel",
|
|
"PrincipalId",
|
|
"ToolEndpoint",
|
|
"UserId",
|
|
"tool_models",
|
|
]
|