ZachGoldberg / python-nmcli

Python Wrapper API around NMCLI (command line networkmanager client)
GNU General Public License v3.0
8 stars 12 forks source link

nmcli nm permissions command missing from the NM Command list #2

Closed cjds closed 7 years ago

cjds commented 7 years ago

Attempting the command causes this error:

     nmcli.nm.permissions()
     Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     AttributeError: 'NMCommand' object has no attribute 'permissions'

Output of the command when run from the command line:

PERMISSION VALUE
org.freedesktop.NetworkManager.enable-disable-network yes
org.freedesktop.NetworkManager.enable-disable-wifi yes
org.freedesktop.NetworkManager.enable-disable-wwan yes
org.freedesktop.NetworkManager.enable-disable-wimax yes
org.freedesktop.NetworkManager.sleep-wake no
org.freedesktop.NetworkManager.network-control yes

ZachGoldberg commented 7 years ago

@cjds Do you have patches already for this? If not, I don't have time today but might be able to dive in this weekend and fix them for fun

cjds commented 7 years ago

@ZachGoldberg Working on them. I should be able to get it done this weekend :-) . I was just listing them out as I found them while patching them, to make sure that I was covering anything I found

ZachGoldberg commented 7 years ago

@cjds wonderful ;) Let me know if I can help, happy to review PRs etc. God speed!