Comment 3 for bug 1468792

Alberto Mardegan (mardy) wrote :

So, with the fix for Online Accounts in the linked branch, save the attached file as /var/lib/apparmor/profiles/click_com.ubuntu.developer.rmescandon.asana_account-plugin_1.0.0
and then run

    cd /var/lib/apparmor/profiles
    sudo apparmor_parser -r click_com.ubuntu.developer.rmescandon.asana_account-plugin_1.0.0

After that, the plugin should work.
The apparmor profile is the same profile from the original click package, plus:

1) The lines
    # Allow writes to application-specific QML cache directories
    owner @{HOME}/.cache/QML/Apps/@{APP_PKGNAME}_@{APP_APPNAME}_@{APP_VERSION}/ rw,
    owner @{HOME}/.cache/QML/Apps/@{APP_PKGNAME}_@{APP_APPNAME}_@{APP_VERSION}/** mrwkl,

2) The policy groups: "networking" and "webview" -- this need to be fixed by the app's author.