-
Notifications
You must be signed in to change notification settings - Fork 1
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: allows to audit the create_external_certificates method #84
Conversation
143eeea
to
b617c3a
Compare
requirements/base.in
Outdated
@@ -9,6 +9,7 @@ djangorestframework-jsonapi==5.0.0 | |||
edx-drf-extensions | |||
edx-i18n-tools | |||
edx-opaque-keys | |||
eox-audit-model |
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.
So you prefer eox-audit now is mandatory to the plugin?
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 didn't consider that dependency was optional, I thought the current implementation was designed in that way due to the tests, probably in the future this should be mandatory since this is a plugin designed for NELC and doesn't make sense to make that optional for other installations when we only have one however that should be applied in another pr
"value": certificate_data["grade"], | ||
"type": "percentage" | ||
}, | ||
"metadata": getattr(settings, "EXTERNAL_CERTIFICATES_METADATA", {}), |
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.
These settings are general settings. Not a tenant aware.
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.
settings are settings tenant awareness depends on eox-tenant
9eb9057
to
818ad0b
Compare
7f0fb34
to
10f9dac
Compare
818ad0b
to
ede72cb
Compare
ede72cb
to
797c944
Compare
Description
This allows to audit the
create_external_certificate
methodTesting instructions
1.Set external certificates feature
2. Save a GeneratedCertificate in the admin panel
3. check /admin/eox_audit_model/auditmodel/ table