forked from openedx/edx-platform
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add user blocking feature - EDLY-3498 (#263)
- Loading branch information
1 parent
0af8706
commit 1c6eac2
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
openedx/features/edly/migrations/0008_edlyuserprofile_is_blocked.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# pylint: skip-file | ||
# Generated by Django 2.2.16 on 2021-08-23 13:05 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('edly', '0007_make_edx_organizations_m2m'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='edlyuserprofile', | ||
name='is_blocked', | ||
field=models.BooleanField( | ||
default=False, | ||
help_text='Block/Unblock user from logging in to the platform.', | ||
verbose_name='Blocked' | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters