StarbaseCommunityProject / EndoLink

An open-source Starbase community website.
https://discord.gg/qDPF2z6Krh
GNU General Public License v3.0
2 stars 1 forks source link

Fix for simplejwt issue 266 #61

Closed MaxWasUnavailable closed 2 years ago

MaxWasUnavailable commented 2 years ago

Description

Please include a summary of the change and which issue is resolved. List any dependencies that are required for this change.

Users with outstanding tokens cannot be deleted if the simplejwt token blacklist app is enabled. This is because outstanding tokens override admin permissions. This fix overrides that and gives admins permission to delete outstanding tokens (and as such; permission to delete users with outstanding tokens).

More info: https://github.com/jazzband/djangorestframework-simplejwt/issues/266

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

Checklist:

Please check [x] all that apply.