Skip to content

Releases: openedx/edx-rbac

1.10.1 | add optional setting to "ignore" jwt.exceptions.InvalidTokenErrors

20 Aug 19:28
Compare
Choose a tag to compare

#317

We get sporadic instances of this error that we'd prefer to just ignore as to not clutter our monitoring tools.
This can be used by setting RBAC_IGNORE_INVALID_JWT_COOKIE to True in applications that install this library.

1.10.0 | add optional setting to "ignore" jwt.exceptions.InvalidTokenErrors

19 Aug 20:35
Compare
Choose a tag to compare

#317

We get sporadic instances of this error that we'd prefer to just ignore as to not clutter our monitoring tools.
This can be used by setting RBAC_IGNORE_INVALID_JWT_COOKIE to True in applications that install this library.

1.9.0

19 Apr 18:43
6879e27
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.8.0...1.9.0

1.8.0

27 Jul 14:18
f741868
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.7.0...1.8.0

1.7.0 | ``utils.get_role_auth_claim_for_user()`` now preserves the order of (role, context) pairs

v1.6.0

20 Jan 11:14
57a749a
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.5.1...1.6.0

Fix RemovedInDjango40Warning

01 Nov 17:22
7878300
Compare
Choose a tag to compare

Replacing ugettext_lazy with gettext_lazy to resolve RemovedInDjango40Warning.

Added support for Django 3.0, 3.1 and 3.2

09 Jul 14:17
334aa02
Compare
Choose a tag to compare

Added support for the following Django versions

  • 3.0
  • 3.1
  • 3.2

1.4.2 | create_role_auth_claim_for_user() returns a list of *unique* (role:context) entries

23 Mar 13:51
Compare
Choose a tag to compare

Modifies create_role_auth_claim_for_user to return a list of unique (role:context) entries, so that the JWT does not become too large to fit in cookies/headers.

#80

1.4.1

22 Jan 19:26
Compare
Choose a tag to compare
  • Add a UserRoleAssignment.applies_to_all_contexts field, because explicit is better than implicit.
    See the ADR at docs/decisions/0002-explicit-role-assignment-wildcard.rst.