gomorpheus/morpheus-cli

Extended / modifying '--group-access-all [on|off]', String, "Toggle Access for all groups."

rjr162 opened this issue · 0 comments

The '--group-access-all [on|off]' command is a bit ambiguous in action if you don't explicitly understand what is stated when you do say
networks --help

The issue stems from the fact by default any VMware network picked up by Morpheus has the check box of "All" enabled.

The message for --group-access-all of "Toggle Access for all groups" can be misread as "Toggle Access for all group" (which has actually happened), causing all permissions for that network to be removed (not just the "All" item that is reflected in the WebUI and can be selected independently of the other groups).

A suggestion/request of adjusting the help text to say "Toggle Access for all groups. Clears all current groups if set to 'off'" would be a great enhancement.
It may also be worth adding a way to remove just the "All" item from the networks list without clearing the other enabled groups, and without having to know to read in the current allowed, adjust the '--group-access-all off', and then re-enable permissions for the groups that had it prior that you want to still maintain them.