PowerShell / JEA

Just Enough Administration
http://aka.ms/JEAdocs
MIT License
257 stars 60 forks source link

JEAEndpoint may be 'not compliant' but actually compliant #45

Closed jnury closed 6 years ago

jnury commented 6 years ago

The ComplexObjectsEqual sometimes generate a false positive in detecting differences where there is not.

It occurs mainly when adding new user/group to an existing endpoint.

The problem is that order of keys in a hashtable is not garanteed. And the ComplexObjectsEqual only use ConvertTo-Json to compare 2 hashtables.

I'll PR a tested fix for that ;-)

jnury commented 6 years ago

PR submitted :-)

jnury commented 6 years ago

Hello @rpsqrd, have-you been able to have a look at PR #47 ?

jnury commented 6 years ago

Fixed by PR #57