Page MenuHomePhabricator

When an install has spaces but a user has no access, roadblock them
ClosedPublic

Authored by epriestley on Jul 3 2015, 5:44 PM.
Tags
None
Referenced Files
F15485916: D13545.id32727.diff
Thu, Apr 10, 3:33 AM
F15465899: D13545.id32727.diff
Thu, Apr 3, 12:09 AM
F15463465: D13545.id32731.diff
Tue, Apr 1, 11:48 PM
F15460699: D13545.id.diff
Tue, Apr 1, 1:21 AM
F15428718: D13545.id.diff
Sun, Mar 23, 9:53 PM
F15390267: D13545.id.diff
Mar 15 2025, 6:04 AM
F15386473: D13545.id32731.diff
Mar 15 2025, 12:39 AM
F15283034: D13545.id32727.diff
Mar 4 2025, 4:46 AM
Subscribers

Details

Summary

Ref T8449. If a user doesn't have access to any spaces, most applications just don't work, and they fail in confusing ways.

Just lock users out of everything explicitly up front with a clear message instead of letting them stumble into a big broken mess.

Test Plan

Locked a user out of all spaces, saw error to that effect.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to When an install has spaces but a user has no access, roadblock them.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
eadler added a reviewer: eadler.
eadler added a subscriber: eadler.
eadler added inline comments.
src/applications/spaces/controller/PhabricatorSpacesNoAccessController.php
12–13

this text might be a bit confusing to a new user (whom I'd expect to be most likely not to have any access to spaces) but is technically accurate.

This revision is now accepted and ready to land.Jul 3 2015, 7:43 PM
This revision was automatically updated to reflect the committed changes.