Page MenuHomePhabricator

Projects - display "members" link in disabled style if user can't edit project
ClosedPublic

Authored by btrahan on Jan 5 2015, 11:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 12, 8:59 PM
Unknown Object (File)
Wed, Dec 11, 6:32 PM
Unknown Object (File)
Sun, Dec 8, 12:34 PM
Unknown Object (File)
Sun, Dec 8, 5:28 AM
Unknown Object (File)
Sat, Dec 7, 8:31 AM
Unknown Object (File)
Fri, Dec 6, 4:21 AM
Unknown Object (File)
Wed, Dec 4, 1:36 PM
Unknown Object (File)
Fri, Nov 29, 11:37 PM
Subscribers

Details

Summary

Fixes T6862.

Test Plan

viewed a project list and saw disabled-style "Members" links as appropos

Diff Detail

Repository
rP Phabricator
Branch
T6862
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3600
Build 3608: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

btrahan retitled this revision from to Projects - display "members" link in disabled style if user can't edit project.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added reviewers: chad, epriestley.
src/applications/project/query/PhabricatorProjectSearchEngine.php
226–237

the other thing I could do here is make "workflow" true in this case, which would make this a nice dialogue and not a full, page re-load 404 nice dialogue.

...do the conditional workflow; seems like a more-standard / better behavior.

chad edited edge metadata.
This revision is now accepted and ready to land.Jan 5 2015, 11:32 PM
btrahan edited edge metadata.

move data loading to before the foreach loop (re-run tests and still good) this change alleviates performance concern

This revision was automatically updated to reflect the committed changes.