This documentation covers Review Board 3.0.
You can select a version above or
view the latest documentation.
reviewboard.site.decorators
-
check_local_site_access
(f)[source]
Checks if a user has access to a Local Site.
This checks whether or not the logged-in user is either a member of
a Local Site or if the user otherwise has access to it.
given local site. If not, this shows a permission denied page.
-
check_localsite_admin
(f)[source]
Checks if a user is an admin on a Local Site.
This checks whether or not the logged-in user is marked as an admin for the
given local site. If not, this shows a permission denied page.