-
-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(projectHistoryLogs): remove audit logs according to constance configuration TASK-972 #5225
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some questions
@@ -44,6 +44,7 @@ export interface EnvironmentResponse { | |||
*/ | |||
terms_of_service__sitewidemessage__exists: boolean; | |||
open_rosa_server: string; | |||
project_history_log_lifespan: number; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FE looks good :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Checklist
./python-format.sh
to make sure that your code lints and that you've followed our coding styleDescription
This PR adds the automatic expiration mechanism for project history logs. It is similar to the access log mechanism. The expiration time span is configured through constance.
Notes
All changes are on the audit_log kobo app.
Testing
0
Related issues
Fixes Notion TASK-972