Jump to >

This documentation covers the in-development release of Review Board. You can see the latest stable docs or all previous versions.


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 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