openwisp-controller
openwisp-controller copied to clipboard
[enhancement] Make WhoIs feature configurable (enabled/disabled)
The complete feature of WhoIs retrieval should be allowed to be enabled/disabled at organization and global level. This can be done via FallbackBooleanChoiceField](https://openwisp.io/docs/stable/utils/developer/custom-fields.html#openwisp-utils-fields-fallbackbooleanchoicefield).
Need to introduce checks like device.organization.is_whois_enabled wherever required.
Dependencies
- [ ] https://github.com/openwisp/openwisp-controller/issues/1032
- [x] https://github.com/openwisp/openwisp-controller/issues/1033
I think we have a model AbstractOrganizationConfigSettings in which we can introduce this field is_whois_enabled