Closed rjrudin closed 5 years ago
Oh right - I don't know of a good way to test this, because ideally, the test would hit both a ML 8 instance and a ML 9 instance. I'm open to ideas. One approach would be to add an interface for seeing if a privilege exists, and that could be mocked in a unit test to verify that the token is correctly set in the custom tokens map.
I'm submitting this to master, as that's really far ahead of develop. Feel free to change - e.g. if you want to get develop up-to-date with master first.