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)
Sat, Jan 18, 7:20 AM
Unknown Object (File)
Wed, Jan 15, 5:53 PM
Unknown Object (File)
Tue, Dec 24, 1:04 PM
Unknown Object (File)
Dec 14 2024, 12:05 AM
Unknown Object (File)
Dec 13 2024, 11:53 PM
Unknown Object (File)
Dec 13 2024, 12:12 PM
Unknown Object (File)
Dec 13 2024, 1:01 AM
Unknown Object (File)
Nov 23 2024, 9:55 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.