Grant publicuser in database on fix_permissions