reviewboard.accounts.privacy¶
Privacy support for user accounts.
- class GravatarConsentRequirement[source]¶
Bases:
BaseGravatarConsentRequirement
- intent_description = "Gravatar is used by many services and applications to manage and serve <b>avatars</b>. We use Gravatars by default for your avatar. If you don't want to use it, you can block that here, or upload your own avatar in your Profile settings."[source]¶
A short description of why the requirement is needed.
- 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: