Tutorial of how to put new PCI users:
1 - Go to SG02
2- In the directory: /mnt/storage/var/pci/picalike_customer_interface/scripts , is a script of name: “create_user.py”…
3- Execute the script passing some params, ex:
python create_user.py "User Name" "e-mail" "Company" company_uid<int> "super_secreti_passwordi"
4- The execution of this command, will print a json in the terminal. This json needs to be inserted on the mongo.
5- Go to the live mongo(not the replica), and insert the json on the collection “pci_user”.
6- (Optional) You can change the uid to [“all”] if you want to the user have access to all companies visualytics.