Skip to content

Conversation

@sarina
Copy link
Contributor

@sarina sarina commented Oct 11, 2013

Add in a django-admin feature to restrict access to the bulk email feature to those we explicitly grant access.

This PR:

  • Adds a new model to bulk_email/models
  • Adds a new form to bulk_email/forms, with course id validation
  • Changes the way the instructor dashboard decides whether to show the feature - both must be present: the CourseAuthorization must be explicitly set for the course, AND the settings flag for the feature must be enabled. This allows us to revoke access to the course at any point in time.

Both beta dash and legacy dash email tabs are gated in this manner.

@sarina
Copy link
Contributor Author

sarina commented Oct 11, 2013

@brianhw @dianakhuang can you take a look?

I'm still in the middle of writing tests for forms.py, but everything else should be covered.

@dianakhuang
Copy link
Contributor

The admin stuff looks good to me.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are these uniqued together? I would assume that there would be one entry for each course_id, and that course_id might have a flag value that is either false or true. This way it would allow an entry for course_id that is true, and a second entry that is set to false.

@brianhw
Copy link
Contributor

brianhw commented Oct 11, 2013

Just a few comments -- looks good.

sarina added a commit that referenced this pull request Oct 11, 2013
django-admin command for enabling email per course
@sarina sarina merged commit 6605f60 into master Oct 11, 2013
@sarina sarina deleted the sarina/bulk-email-admin branch October 11, 2013 21:10
@sarina sarina mentioned this pull request Nov 15, 2013
jenkins-ks pushed a commit to nttks/edx-platform that referenced this pull request Nov 27, 2016
* Implements ga_optional openedx#1239 (openedx#1393)

* Fix has_terminated on course-overview. openedx#1324 (openedx#1391)

* Version up CourseOverview to regenerate CourseOverview.

* Add send_mail option to ContractAuth(biz) openedx#1322 (openedx#1392)

* Revert "Revert "Merge pull request openedx#1298 from hachiyanagi-ks/develop/dogwood/…" (openedx#1394)

* Version up django and ora2 openedx#1375 (openedx#1396)

* Version up to django==1.8.16 openedx#1375

* Version up ora2 to gacco/eucalyptus==1.1.5 openedx#1375

* Add format file openedx#1428 (openedx#1465)

* Text correction of scoring by instructor openedx#1467
giovannicimolin pushed a commit to open-craft/openedx-platform that referenced this pull request Dec 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants