mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
New: Possibilit de dfinir $dolibarr_main_db_prefix dans le fichier de config
This commit is contained in:
@@ -110,8 +110,18 @@ else
|
||||
}
|
||||
}
|
||||
|
||||
// Si user admin, on force droits sur les modules base
|
||||
if ($user->admin)
|
||||
{
|
||||
$user->rights->user->user->lire=1;
|
||||
$user->rights->user->user->creer=1;
|
||||
$user->rights->user->user->password=1;
|
||||
$user->rights->user->user->supprimer=1;
|
||||
$user->rights->user->self->creer=1;
|
||||
$user->rights->user->self->password=1;
|
||||
}
|
||||
|
||||
/*
|
||||
/**
|
||||
* Overwrite configs global par configs perso
|
||||
* ------------------------------------------
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user