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.
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 ubuntu. developer. rmescandon. asana_account- plugin_ 1.0.0
sudo apparmor_parser -r click_com.
After that, the plugin should work.
The apparmor profile is the same profile from the original click package, plus:
1) The lines specific QML cache directories /.cache/ QML/Apps/ @{APP_PKGNAME} _@{APP_ APPNAME} _@{APP_ VERSION} / rw, /.cache/ QML/Apps/ @{APP_PKGNAME} _@{APP_ APPNAME} _@{APP_ VERSION} /** mrwkl,
# Allow writes to application-
owner @{HOME}
owner @{HOME}
2) The policy groups: "networking" and "webview" -- this need to be fixed by the app's author.