3267: The 'visible' checkbox in review groups does not do anything

hacka******@gmai***** (Google Code) (Is this you? Claim this profile.)
Feb. 26, 2014
2522
What version are you running?
1.7.4

What's the URL of the page containing the problem?
/reviewboard/r/<reviewid>

What steps will reproduce the problem?
1. In the Admin dashboard, create a review group, check the 'Visible' checkbox and check the 'Invite only' checkbox 
2. Create a review assigned to the review group created in step 1.
3. Log out
4. Select the 'All Review Requests' link
5. Select the review that was created in step 2.

What is the expected output? What do you see instead?
The review should have been displayed, instead the following was displayed:
---
You don't have access to this review request.

This review request is private. You must be a requested reviewer, either directly or on a requested group, and have permission to access the repository in order to view this review request.
---

What operating system are you using? What browser?
Server OS: FreeBSD 10.0

Client OS: MacOS X Mavericks
Browsers:
Safari 7.0.1
Firefox 27.0.1

Please provide any additional information below.
It seems that reviewboard/reviews/models.py fetches the 'visible' boolean value, but does not use it in the is_accessible_by() method.

The following attached patch seems to fix the issue.
chipx86
#1 chipx86
Your version is very old, and this bug has been fixed for a while. If you upgrade, you'll find this all works correctly.