Hey @artur ,
I was using in test env the Sync addon and noticed that on a sync job (push/pull) roles are duplicated. There’s just one line to correct :
//Line 85
if ($_role) {
❌ $role['_id'] = $_role['id'];
✅ $role['_id'] = $_role['_id'];
...
Now the _id is recognized, and roles are not duplicated anymore.
I’m not opening a pull request because Addons are not tracked in the repo.