NetworkManager AppArmor DBUS Access Denied

I am currently using the GoDBUS module to communicate with the NetworkManager DBUS API. This works well under Ubuntu 16.04 with no errors.

When running under Ubuntu Core18, I receive the follow errors:

= AppArmor =
Time: Jun 22 20:48:43
Log: apparmor=“DENIED” operation=“dbus_method_call” bus=“system” path="/" interface=“org.freedesktop.DBus.Properties” member=“Get” mask=“send” name=“org.freedesktop.NetworkManager” pid=1945 label=“snap.cm.cm” peer_pid=943 peer_label=“snap.network-manager.networkmanager”
DBus access
Suggestion:

  • try adding ‘network-manager’ to ‘plugs’

= AppArmor =
Time: Jun 22 20:48:43
Log: apparmor=“DENIED” operation=“dbus_method_call” bus=“system” path="/" interface=“org.freedesktop.DBus.Properties” member=“Get” name=":1.12" mask=“receive” pid=943 label=“snap.network-manager.networkmanager” peer_pid=1945 peer_label=“snap.cm.cm”
DBus access

I have connected my snap “snap.cm.cm” to the NetworkManager via “snap connect cm:network-manager network-manager:service”.

My snapcraft.yaml looks as follows:
name: cm # you probably want to 'snapcraft register ’
version: ‘2.0’ # just for humans, typically ‘1.2+git’ or ‘1.3.2’
summary: Configuration Manager # 79 char long summary
description: |
Configuration Manager

grade: stable # must be ‘stable’ to release into candidate/stable channels
confinement: strict # use ‘strict’ once you have the right plugs and slots
base: core18

apps:
cm:
command: cm
daemon: simple
restart-condition: always
plugs:
- network-bind
- shutdown
- network-manager
- network

parts:
cm:
plugin: dump
source: ./dist

Any ideas on this error message?

Some additional information:
(apparmor profile)

#Allow connected clients to interact with the service

#Allow traffic to/from our DBus path
dbus (receive, send)
bus=system
path=/org/freedesktop/NetworkManager{,/**}
peer=(label=“snap.cm.cm”),

#Later versions of NetworkManager implement org.freedesktop.DBus.ObjectManager
#for clients to easily obtain all (and be alerted to added/removed) objects
#from the service.
dbus (receive, send)
bus=system
path=/org/freedesktop
interface=org.freedesktop.DBus.ObjectManager
peer=(label=“snap.cm.cm”),