fix: edx-enterprise to 3.44.0 and edx-rbac to 1.7.0

Overrides the SystemWideEnterpriseUserRoleAssignment.get_assignments() method to return list of (role, context) assignments where the first item in the list corresponds to the currently active enterprise for the user.

This approach should allow us to remedy the problem without changing behavior of the consumers of JWT-stored roles (e.g. in ecommerce).

ENT-5700
This commit is contained in:
Alex Dusenbery
2022-04-12 15:07:26 -04:00
committed by Alex Dusenbery
parent ea8f667bee
commit cd306edfd6
4 changed files with 7 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ django-storages<1.9
# The team that owns this package will manually bump this package rather than having it pulled in automatically.
# This is to allow them to better control its deployment and to do it in a process that works better
# for them.
edx-enterprise==3.43.0
edx-enterprise==3.44.0
# Newer versions need a more recent version of python-dateutil
freezegun==0.3.12

View File

@@ -451,7 +451,7 @@ edx-drf-extensions==8.0.1
# edx-rbac
# edx-when
# edxval
edx-enterprise==3.43.0
edx-enterprise==3.44.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.in
@@ -486,7 +486,7 @@ edx-proctoring==4.10.2
# edx-proctoring-proctortrack
edx-proctoring-proctortrack==1.0.5
# via -r requirements/edx/base.in
edx-rbac==1.6.0
edx-rbac==1.7.0
# via edx-enterprise
edx-rest-api-client==5.5.0
# via

View File

@@ -559,7 +559,7 @@ edx-drf-extensions==8.0.1
# edx-rbac
# edx-when
# edxval
edx-enterprise==3.43.0
edx-enterprise==3.44.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/testing.txt
@@ -598,7 +598,7 @@ edx-proctoring==4.10.2
# edx-proctoring-proctortrack
edx-proctoring-proctortrack==1.0.5
# via -r requirements/edx/testing.txt
edx-rbac==1.6.0
edx-rbac==1.7.0
# via
# -r requirements/edx/testing.txt
# edx-enterprise

View File

@@ -542,7 +542,7 @@ edx-drf-extensions==8.0.1
# edx-rbac
# edx-when
# edxval
edx-enterprise==3.43.0
edx-enterprise==3.44.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.txt
@@ -582,7 +582,7 @@ edx-proctoring==4.10.2
# edx-proctoring-proctortrack
edx-proctoring-proctortrack==1.0.5
# via -r requirements/edx/base.txt
edx-rbac==1.6.0
edx-rbac==1.7.0
# via
# -r requirements/edx/base.txt
# edx-enterprise