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
F13132584: D12778.id30718.diff
Wed, May 1, 7:43 PM
F13132583: D12778.id30717.diff
Wed, May 1, 7:43 PM
F13132582: D12778.id30715.diff
Wed, May 1, 7:43 PM
F13132555: D12778.id.diff
Wed, May 1, 7:31 PM
F13132232: D12778.diff
Wed, May 1, 6:41 PM
Unknown Object (File)
Mon, Apr 29, 4:43 PM
Unknown Object (File)
Thu, Apr 25, 12:41 AM
Unknown Object (File)
Sat, Apr 20, 12:30 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.