Jump to >

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


class AllPermsLookupDict(user, app_label, perms_wrapper)[source]

Bases: django.contrib.auth.context_processors.PermLookupDict

__init__(user, app_label, perms_wrapper)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

__repr__() <==> repr(x)[source]
class AllPermsWrapper(user, local_site_name)[source]

Bases: django.contrib.auth.context_processors.PermWrapper

__init__(user, local_site_name)[source]

x.__init__(…) initializes x; see help(type(x)) for signature


Returns context variables useful to Local Sites.

This provides the name of the Local Site (local_site_name), and a permissions variable used for accessing user permissions (perm).

perm overrides the permissions provided by the Django auth framework. These permissions cover Local Sites along with the standard global permissions.