Page MenuHomePhabricator

Conpherence - allow for public rooms to really work
ClosedPublic

Authored by btrahan on May 8 2015, 9:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 26, 12:20 AM
Unknown Object (File)
Wed, Dec 25, 5:35 PM
Unknown Object (File)
Mon, Dec 16, 4:13 PM
Unknown Object (File)
Sun, Dec 8, 8:08 PM
Unknown Object (File)
Thu, Dec 5, 12:44 PM
Unknown Object (File)
Thu, Dec 5, 3:24 AM
Unknown Object (File)
Wed, Dec 4, 11:02 AM
Unknown Object (File)
Fri, Nov 29, 3:51 AM
Subscribers

Details

Summary

Fixes T8102. This makes public rooms actually work. Also lets users see the search listings page so they can wander into all public rooms without logging in.

Test Plan

As logged out user, visited ZXX and ZYY. ZXX was public, so I could see it and had a little "Login to Participate" button in the bottom. ZYY was not public so I was prompted to login. Back on ZXX I clicked the Conpherence crumb and got a sensible UI where most links prompted me to login. CLicked "search" and saw listings for all public rooms.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

btrahan retitled this revision from to Conpherence - allow for public rooms to really work.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added a reviewer: epriestley.
epriestley edited edge metadata.

One inline.

src/applications/conpherence/controller/ConpherenceListController.php
28–30

I'd expect these to be shouldAllowPublic() instead.

The difference between the two methods is subtle and should be better documented, but one case where they differ is that users with unverified email addresses can see !shouldRequireLogin() pages even if email verification is required on an install.

They also have slightly different behavior for installs with policy.allow-public off.

This revision is now accepted and ready to land.May 8 2015, 9:53 PM
btrahan edited edge metadata.

shouldRequireLogin() { return false; } ====> shouldAllowPublic() { return true; }

This revision was automatically updated to reflect the committed changes.