Access to contacts is not possible from apps

I wanted to do things all nice like god and jolla wanted but ehh here we are once again. Here are the docs Contacts | Sailfish OS Documentation saying that jolla is using qt pim contacts. Developer package is available so i thought all nice and dandy, followed qt pim documentation from exact same commit as jolla is using, opened database and tried accessing contacts aaaaaaaaaaaaaaaand it doesn’t work. You can’t access contacts unless you are running app in privileged group.

So because of that I have two ways of resolving it. Either I set app’s group as privileged and setgid or I make separate worker with said group and gid and communicate with it over dbus or something, and launch it only if necessary.