Fix Sql query
Merge changes with previous commit
Fix rebase regexp + code clean
Fix updateAdminRights + code cleaning
Fix the way we list repositories for a user ACL.