VOLTTRON / volttron

VOLTTRON Distributed Control System Platform
https://volttron.readthedocs.io/
Other
457 stars 216 forks source link

Rename Secure Mode to Agent Isolation Mode #3035

Open schandrika opened 2 years ago

schandrika commented 2 years ago

Issue: VOLTTRON supports running individual agents as unique unix users so that files permissions for that process/agent user can be restricted at Unix file system level. This mode is currently referred as secure mode in all documentation. 'secure mode' is a misnomer as enabling this feature doesn't automatically enable all other security features in VOLTTRON.

Fix:

  1. Rename configuration parameter that enables this mode from secure-agent-user to agent-isolation-mode.
  2. Change all doumentation and code comments to use the term "agent isolation mode" instead of "secure mode"
  3. Modify code variables from "secure_agent_user" to "agent_isolation_mode" to keep it consistent with volttron configuration parameter and documentation references
craig8 commented 2 years ago

add to the upgrade script as well b/c that will edit the config file auth entry so we can handle that as well just in case