Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement and test comment anonymization over fedmsg (bodhi2). #112

Merged
merged 2 commits into from Nov 11, 2014

Conversation

ralphbean
Copy link
Contributor

Just like #111 does for bodhi1.

A new magic map is added for all models that can be used elsewhere called
__anonymity_map__: a dict that allows conditionally scrubbing fields
from JSON responses if anonymize is set to True.

Currently, this is only fleshed out and tested for the Comment model,
but I don't think we have a need to extend it anywhere else.

Just like #111 does for bodhi1.

A new magic map is added for all models that can be used elsewhere
called ``__anonymity_map__``: a dict that allows conditionally scrubbing
fields from JSON responses if ``anonymize`` is set to ``True``.

Currently, this is only fleshed out and tested for the ``Comment``
model, but I don't think we have a need to extend it anywhere else.
@lmacken
Copy link
Contributor

lmacken commented Nov 11, 2014

Looks good to me, thanks!

lmacken added a commit that referenced this pull request Nov 11, 2014
Implement and test comment anonymization over fedmsg (bodhi2).
@lmacken lmacken merged commit 12545a5 into pyramid Nov 11, 2014
@lmacken lmacken deleted the feature/anonymize-pyramid branch November 11, 2014 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants