Skip to content

3.17.21

Choose a tag to compare

@iloveagent57 iloveagent57 released this 03 Feb 16:39
· 1815 commits to master since this release
  • Introduce and use a roles_api module, use the roles API in receivers that want to create or delete role assignments.
  • For new learners and admins, associate their user-role with the customer to which they are linked.
  • Does not yet specify the enterprise_customer for deletions. We want to maintain current behavior on deletes until we do a data backfill of that field. So for now, we'll continue to delete all assignments held by the deleted user.
  • Install django-cache-memoize, so that we can memoize roles (not assignments) in the Django cache.

#1133

This implements step 5/10 of the steps outlined in https://openedx.atlassian.net/browse/ENT-3914