Jump to >

reviewboard.accounts.privacy

Privacy support for user accounts.

class GravatarConsentRequirement[source]

Bases: djblets.privacy.consent.common.BaseGravatarConsentRequirement

intent_description = _(u"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]
icons = {u'1x': _(u'/static/rb/images/consent/gravatar.png'), u'2x': _(u'/static/rb/images/consent/gravatar@2x.png')}[source]
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.

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