New issue 305: "Anonymous access" shows wrong value after change, until page 
reload
https://bitbucket.org/conservancy/kallithea/issues/305/anonymous-access-shows-wrong-value-after

Mads Kiilerich:

The checkmark on `/_admin/permissions` will seem to go back to the previous 
state after submitting.

It is something with caching in `User.get_by_username` that retrieve outdated 
entities. `PermissionModel.update` itself doesn't use caching, but before 
getting this far, `auth.py` and others might have called 
`User.get_default_user(cache=True)`. Disabling cache in these other places make 
it work ... but at a cost.


_______________________________________________
kallithea-general mailing list
kallithea-general@sfconservancy.org
https://lists.sfconservancy.org/mailman/listinfo/kallithea-general

Reply via email to