roles.py
11.5 KB
-
Don't blow away the role cache when updating. · 9fe2de8a
Instead of refetching the role cache fresh every time we want to add a new role to a user, just manually add the role object. We have it available to us, the model, not a distilled-down version. Add that in and leave the existing cache.
Toby Lawrence committed