openwisp-controller icon indicating copy to clipboard operation
openwisp-controller copied to clipboard

[feature] Add possibility to enable specific commands for each organization

Open nemesifier opened this issue 2 years ago • 0 comments

We need a solution that allows us to define which commands are available to each org, eg:

ENABLE_COMMANDS = {
    '__all__': ['reboot', 'ping', 'traceroute', 'change_password', 'custom'],
    '<ID openwisp>': ['reboot', 'ping', 'traceroute'],
    '<ID ACME>': '*'
}

We need to add some tests and document this feature.

nemesifier avatar Jul 29 '22 15:07 nemesifier