reviewboard.site.validation¶
-
validate_users
(form, field=u’users’)[source]¶ Validates that the users all have valid, matching LocalSites.
This will compare the LocalSite associated with the form to that of each added User. If the form has a LocalSite set, then all Users are required to be a part of that LocalSite. Otherwise, any User is allowed.