openwisp / openwisp-controller

Network and WiFi controller: provisioning, configuration management and updates, (pull via openwisp-config or push via SSH), x509 PKI management and more. Mainly OpenWRT, but designed to work also on other systems.
https://openwisp.io/docs/dev/controller/
Other
549 stars 177 forks source link

[fix] Add WritableCommandInline when user has change permission #854

Closed pandafy closed 4 months ago

pandafy commented 4 months ago

Add WritableCommandInline to the DeviceAdmin only when the user has change permission for Command model.

coveralls commented 4 months ago

Coverage Status

coverage: 98.702%. remained the same when pulling d782eb7c2fe23e494231179220bc25104a6aad22 on load-writable-command-inline-change-perm into 035e375bb90368b060d9f01c5065f300802a1d05 on master.