dlr-eoc / prosEO

prosEO – A Processing System for Earth Observation Data
GNU General Public License v3.0
14 stars 1 forks source link

Add function to copy users between missions #47

Open tangobravo62 opened 4 years ago

tangobravo62 commented 4 years ago

Currently to copy users with their passwords from one mission to another first the user must be exported ("user show" into a file), then the file must be edited to change the mission code in the user name (and to remove excess lines, e. g. the CLI banner), and then the new user must be created with "user create --file=xxx". It would be easier to have a command "user copy --with-authorities ". Obviously, copying group memberships in this way would not be possible, because the groups may be different.