-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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(disclaimers): Split disclaimers #10902
base: dev
Are you sure you want to change the base?
Conversation
DryRun Security SummaryThe pull request enhances the Dojo application's disclaimer handling by introducing more granular system settings, improving security through proper sanitization, and providing administrators with greater flexibility in customizing notification and report disclaimers. Expand for full summarySummary: The code changes in this pull request are focused on improving the handling and customization of disclaimers in various parts of the Dojo application, particularly in the context of notification emails. The key changes include:
From an application security perspective, these changes are generally positive, as they demonstrate a focus on security best practices and a desire to provide more control and flexibility over sensitive information displayed to users. However, it's important to ensure that the overall implementation, including the handling of user input and the management of sensitive data, is thoroughly reviewed and tested to maintain the application's security posture. Files Changed:
Code AnalysisWe ran
Overall Riskiness🟡 Please give this pull request extra attention during review. |
e3a271b
to
c9a2893
Compare
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.
This could be consolidated into the other migration
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.
I'm not sure I understand this comment
Until now, all disclaimers have been the same which is not the best.
Now you can choose between:
disclaimer_notifications
disclaimer_reports
There is one more to inform users that they should not include any personal information in notes:
disclaimer_notes
Plus if there is an internal policy to have a disclaimer in all reports, it is possible to use
disclaimer_reports_forced
to not allow users to be excluded it.E.g.: