appsembler / appsembleredx

Common migrations, management commands, models, templates, etc. for Appsembler Open edX projects
0 stars 1 forks source link

Rework way to help populate default certs without activating them #4

Closed bryanlandia closed 6 years ago

bryanlandia commented 7 years ago

Creating default certificates and activating them can be tedious, especially if the client is using signatories, as those images would have to be added manually to each course. However, some clients want to use HTML certificates on some courses but not all. Our approach to this so far has been to add the optional ACTIVATE_DEFAULT_CERTS FEATURE flag. Currently, if this is false, a default cert will be created and populated, but not activated.

This isn't working well. If the advanced setting, "Certificate Web/HTML View Enabled", is set to true, a "Request Certificate" button will always (it may also depend on the env flag CERTIFICATES_HTML_VIEW being True but that will always be the case) appear on the Progress page if the student has passed the course. When clicking that button, they will just get a "We're working on it" message, which will be confusing.

Instead, make a different Appsembler feature flag like ACTIVATE_COURSE_HTML_CERT_VIEW, defaulting to True. If this is set to False, the student should not see a button on the Progress page even if they have an active certificate.

This way the harder work of creating the certificate is automated, and the client who only wants certs for some courses has a single place to go turn them on.

To investigate:

bryanlandia commented 7 years ago

FYI @johnbaldwin @amirtds @bezidejni

bryanlandia commented 6 years ago

I think the problems here have been resolved other ways. Closing.