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
Unknown Object (File)
Thu, Apr 11, 8:25 AM
Unknown Object (File)
Wed, Apr 10, 12:18 AM
Unknown Object (File)
Sun, Mar 31, 8:20 PM
Unknown Object (File)
Mon, Mar 25, 1:45 PM
Unknown Object (File)
Mar 6 2024, 11:42 PM
Unknown Object (File)
Feb 27 2024, 10:37 PM
Unknown Object (File)
Feb 2 2024, 6:45 AM
Unknown Object (File)
Jan 29 2024, 1:21 PM
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.