Allow to skip the cache for idl interaction endpoints
Currently we had the problem that the sync of the idl info didn't take effect until the caching is no longer valid (after the login in the frontend).
A solution to get around this is to allow the api clients to explicitly say that it should query the idl - and not to use caches. While this can be implemented in the frontend right after the sync, we still need the backend changes to make that work.
This are the changes:
- new
skip_cache
query parameters for the endpoints to get the permission groups & to get the user info (with the groups included). - decorator function that works the same as cachedmethod in the cachetools package, but it allows to set kwargs so that we remove the key from the cache & run the decorated functions code again.