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;