Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
40e92cc1
Commit
40e92cc1
authored
4 years ago
by
Régis Behmo
Browse files
Options
Downloads
Patches
Plain Diff
Improve lms/djangoapps/bulk_email feature toggle documentation
parent
6fc322e3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lms/djangoapps/bulk_email/models.py
+14
-12
14 additions, 12 deletions
lms/djangoapps/bulk_email/models.py
with
14 additions
and
12 deletions
lms/djangoapps/bulk_email/models.py
+
14
−
12
View file @
40e92cc1
...
@@ -468,18 +468,6 @@ class CourseAuthorization(models.Model):
...
@@ -468,18 +468,6 @@ class CourseAuthorization(models.Model):
return
u
"
Course
'
{}
'
: Instructor Email {}Enabled
"
.
format
(
text_type
(
self
.
course_id
),
not_en
)
return
u
"
Course
'
{}
'
: Instructor Email {}Enabled
"
.
format
(
text_type
(
self
.
course_id
),
not_en
)
# .. toggle_name: require_course_email_auth
# .. toggle_implementation: ConfigurationModel
# .. toggle_default: True (enabled)
# .. toggle_description: If the flag is enabled, course-specific authorization is required, and the course_id is either
# not provided or not authorixed, the feature is not available.
# .. toggle_category: bulk email
# .. toggle_use_cases: open_edx
# .. toggle_creation_date: 2016-05-05
# .. toggle_expiration_date: None
# .. toggle_warnings: None
# .. toggle_tickets: None
# .. toggle_status: supported
@python_2_unicode_compatible
@python_2_unicode_compatible
class
BulkEmailFlag
(
ConfigurationModel
):
class
BulkEmailFlag
(
ConfigurationModel
):
"""
"""
...
@@ -490,6 +478,20 @@ class BulkEmailFlag(ConfigurationModel):
...
@@ -490,6 +478,20 @@ class BulkEmailFlag(ConfigurationModel):
2. Course-specific authorization not required, or course authorized to use bulk email.
2. Course-specific authorization not required, or course authorized to use bulk email.
.. no_pii:
.. no_pii:
.. toggle_name: require_course_email_auth
.. toggle_implementation: ConfigurationModel
.. toggle_default: True (enabled)
.. toggle_description: If the flag is enabled, course-specific authorization is
required, and the course_id is either not provided or not authorized, the feature
is not available.
.. toggle_category: bulk email
.. toggle_use_cases: open_edx
.. toggle_creation_date: 2016-05-05
.. toggle_expiration_date: None
.. toggle_warnings: None
.. toggle_tickets: None
.. toggle_status: supported
"""
"""
# boolean field 'enabled' inherited from parent ConfigurationModel
# boolean field 'enabled' inherited from parent ConfigurationModel
require_course_email_auth
=
models
.
BooleanField
(
default
=
True
)
require_course_email_auth
=
models
.
BooleanField
(
default
=
True
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment