<div dir="ltr">Hi Ioannis, <div><br></div><div>For multiple admins modifying the database back-end, we recommend making database "patch" files - typically several MySQL commands compiled in a single file - which can be reviewed and executed by a senior admin. </div><div>These database patches can be committed in a github repo so that your project keeps a central record of them. We find this helps with transparency and trouble-shooting, in addition to giving additional oversight and allowing you to replicate a database configuration easily.  Best practices also include creating and committing an additional "undo" patch alongside every database patch. <br></div><div><div><br></div><div>If it's truly necessary to give both admins access to the same MySQL back-end, the setup you suggested is fine. </div><div>As with any MySQL database, there's no real "undo" feature, and there shouldn't be any problem with 2 users logged in at the time, though coordinating to avoid modifying the same records/tables at the same time is probably a good idea. </div><div> </div><div>Best,</div><div>Christine </div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 14, 2020 at 1:32 PM Ioannis Pappas <<a href="mailto:ioannis@berkeley.edu">ioannis@berkeley.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Dear Loris support.<div>I hope this finds you well.</div><div><br></div><div>I would like to ask you a question about creating and managing additional users.</div><div><br></div><div>We would like to add a research assistant to help us with our project, specifically with the loris <i>mysql</i> operations. We already have a lorismysql user that handles parts of the operations but we would like to add another person to handle the day to day operations.</div><div><br></div><div>What is the best way for the loris admin to do so? Should we create another lorisdbuser with basic rights granted e.g. (like in the website):</div><div><br></div><div>GRANT ALTER, DROP, CREATE, UPDATE, INSERT, SELECT, DELETE, CREATE TEMPORARY TABLES, LOCK TABLES  on $dbname.* to ‘lorisdbuser'@'$dbhost' IDENTIFIED BY '$newpassword' WITH GRANT OPTION ;<br><br></div><div>If this is the case can the loris admin check logs or undo changes made by a particular user? Are there problems if two loris users are signed in the same time?</div><div><br></div><div>Best wishes,</div><div>Ioannis</div></div>_______________________________________________<br>
Loris-dev mailing list<br>
<a href="mailto:Loris-dev@bic.mni.mcgill.ca" target="_blank">Loris-dev@bic.mni.mcgill.ca</a><br>
<a href="https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev" rel="noreferrer" target="_blank">https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div style="font-size:12.8px"><br><a href="mailto:christine.rogers@mcgill.ca" target="_blank">christine.rogers@mcgill.ca</a><br>McGill Centre for Integrative Neuroscience | MCIN.ca</div><div style="font-size:12.8px">Montreal Neurological Institute</div><div style="font-size:12.8px">McGill University | Montreal | Canada</div></div></div></div>