Hotfix: prefetch client permissions when client is loaded from the database