Project

General

Profile

Feature #50486

Updated by Ernesto Puerta about 3 years ago

As a fall-back mechanism when a workflow cannot be fully undertaken from the UI would be to provide a CLI-like input text. 

 Considerations: 
 * Only exposes Ceph CLI (as commands are sent via send_command API). 
 * UI/UX: follow the 'terminal' pattern or rethink the concept? 
 * What about user-permissions? Any Ceph CLI command run this would run with ceph-mgr privileges. Is there any need to perform mapping between "Dashboard users/roles":https://docs.ceph.com/en/latest/mgr/dashboard/#user-accounts to "Ceph users/caps":https://docs.ceph.com/en/latest/rados/operations/user-management/ 
 * Autocompletion 
 * Other security concerns: code injection, DoS, etc. 

 Existing libraries: 
 * "ng-xterm":https://www.npmjs.com/package/ng-terminal ("Demo":https://codesandbox.io/s/yv21krq4x): massively used. ("Demo":https://codesandbox.io/s/yv21krq4x) 
 * "ng-terminal-emulator":https://github.com/vtortola/ng-terminal-emulator ("Demo":http://vtortola.github.io/ng-terminal-emulator/)

Back