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
F14059358: D11229.diff
Sun, Nov 17, 7:16 PM
F14048361: D11229.id26963.diff
Thu, Nov 14, 7:37 AM
F14046083: D11229.diff
Wed, Nov 13, 6:02 PM
F14045626: D11229.id26963.diff
Wed, Nov 13, 7:35 AM
F14045513: D11229.id26963.diff
Wed, Nov 13, 5:28 AM
F14040854: D11229.id.diff
Mon, Nov 11, 1:48 PM
F14038923: D11229.id26963.diff
Mon, Nov 11, 2:49 AM
F14038842: D11229.id26959.diff
Mon, Nov 11, 2:25 AM
Subscribers

Details

Summary

Fixes T6862.

Test Plan

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

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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
231–242

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.