Skip to content

Commit

Permalink
Making blackboard unencrypted client credentials nullable 8010 (#2126)
Browse files Browse the repository at this point in the history
* feat: making unencrypted client credentials nullable, so they can be removed
  • Loading branch information
MueezKhan246 authored Jun 5, 2024
1 parent 14b0cde commit 05ac651
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Unreleased
----------
* nothing unreleased

[4.19.9]
--------
* feat: making unencrypted client credentials nullable, so they can be removed

[4.19.8]
--------
* chore: updated permission class ``IsInProvisioningAdminGroup`` for ``PendingEnterpriseCustomerAdminUser`` viewpoint and handled exceptions in serializer.
Expand Down
2 changes: 1 addition & 1 deletion enterprise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Your project description goes here.
"""

__version__ = "4.19.8"
__version__ = "4.19.9"
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 3.2.23 on 2024-06-05 08:10

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('blackboard', '0022_blackboardlearnerassessmentdatatransmissionaudit_is_transmitted_and_more'),
]

operations = [
migrations.AlterField(
model_name='blackboardenterprisecustomerconfiguration',
name='client_id',
field=models.CharField(blank=True, default='', help_text='The API Client ID provided to edX by the enterprise customer to be used to make API calls on behalf of the customer. Called Application Key in Blackboard', max_length=255, null=True, verbose_name='API Client ID or Blackboard Application Key'),
),
migrations.AlterField(
model_name='blackboardenterprisecustomerconfiguration',
name='client_secret',
field=models.CharField(blank=True, default='', help_text='The API Client Secret provided to edX by the enterprise customer to be used to make API calls on behalf of the customer. Called Application Secret in Blackboard', max_length=255, null=True, verbose_name='API Client Secret or Application Secret'),
),
]
2 changes: 2 additions & 0 deletions integrated_channels/blackboard/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ class BlackboardEnterpriseCustomerConfiguration(EnterpriseCustomerPluginConfigur
client_id = models.CharField(
max_length=255,
blank=True,
null=True,
default='',
verbose_name="API Client ID or Blackboard Application Key",
help_text=(
Expand Down Expand Up @@ -146,6 +147,7 @@ def encrypted_client_id(self, value):
client_secret = models.CharField(
max_length=255,
blank=True,
null=True,
default='',
verbose_name="API Client Secret or Application Secret",
help_text=(
Expand Down

0 comments on commit 05ac651

Please sign in to comment.