When we implemented access code distribution (T202615), we listed them on the per-partner List Applications page. That was then removed (https://github.com/Samwalton9/TWLight/commit/2ac818ae55315b1e6a5f0e177576782e12f3dd64) because we changed the relation from Code-Application to Code-Authorization and the column wasn't working. Now that we're reworking that page entirely (T236284) we have no plans to reinstate the access code revocation feature.
As such we have a few pieces of the codebase that are entirely unused:
- partner_unassign_code.html - https://github.com/WikipediaLibrary/TWLight/blob/master/TWLight/resources/templates/resources/partner_unassign_code.html
- A view, URL, and probably some tests for this functionality.
We should remove this unused code.