Warning about advance permission after upgrade to v14.0.3

Hi

After i upgrade from 14.0.2 to 14.0.3 , it show warnings as below .


Then i check the main.inc.php , and this warning is about advance permission .

And after i turn off advance permission , the warnings are gone .

Are there anyone know how to fix it ?

OS : windows 7
php : 7.4.1
webserver : Apache/2.4.41
Database : MariaDB 5.5.5-10.4.11-MariaDB

Having the same issue after upgrading to v14.0.3.

Hope the Dolibarr community have the fix.

Thank you!

I had the same issue, I did the following to fix:

Add “MAIN_USE_ADVANCED_PERMS” with value “0” at Other Setup menu

Hope this helps.

Hello kennyx,
That is great!
It worked.
Thank you so much!

My initial solution is to comment out all these which works but I don’t know the implication.
$user->rights->user->user_advance->readperms = 1;
$user->rights->user->user_advance->write = 1;
$user->rights->user->self_advance->readperms = 1;
$user->rights->user->self_advance->writeperms = 1;
$user->rights->user->group_advance->read = 1;
$user->rights->user->group_advance->readperms = 1;
$user->rights->user->group_advance->write = 1;
$user->rights->user->group_advance->delete = 1;

The FIX : Update main.inc.php by javieralapps4up · Pull Request #18772 · Dolibarr/dolibarr · GitHub

2 Likes

Thank you ksar for the solution!

1 Like