reviewboard.accounts.privacy¶
Privacy support for user accounts.
-
class
GravatarConsentRequirement
[source]¶ Bases:
djblets.privacy.consent.common.BaseGravatarConsentRequirement
-
recompute_privacy_consents
(unregister=True)[source]¶ Recompute the built-in consent requirements for user privacy.
Parameters: unregister (bool, optional) – Whether to unregister previous entries first.
-
is_consent_missing
(user)[source]¶ Return whether the user is missing any consent requirements.
Parameters: user (django.contrib.auth.models.User) – The user in question. Returns: Whether or not the user is missing any consent requirements. Return type: bool