Closed Bug 1286969 Opened 10 years ago Closed 9 years ago

Change phonebook to only replace ldap attributes which have changed

Categories

(Webtools Graveyard :: Phonebook, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gene, Assigned: Atoll)

Details

https://github.com/mozilla/phonebook/pull/26 This PR makes phonebook only replace LDAP attributes which have changed. This simplifies the LDIF transaction and audit logs. I've not tested this change since I don't have a QA phonebook deployment, but the few lines should be easy to read and understand and should be easy to test (if there's a test system). The driver for this PR is that currently infosec audits changes in LDAP to detect security problems. Those audit records are filled with LDAP attribute changes from phonebook where a user goes into their phonebook entry, changes one value, and phonebook submits an LDAP transaction which changes *all* of the users attributes (most of them being change to the same value that they already have).
Assignee: nobody → rsoderberg
We ended up deploying pull #28 in CHG0010767, verified in dev/stage to do the right thing in LDAP.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Slight correction, atoll ended up deploying #38 (not #28) in CHG0010767 https://github.com/mozilla/phonebook/pull/38#issuecomment-245789965
Ah, thanks, dyslexia strikes again
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.