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
F15423978: D11229.id.diff
Sat, Mar 22, 7:47 PM
F15422094: D11229.id26959.diff
Sat, Mar 22, 5:27 AM
F15405419: D11229.diff
Tue, Mar 18, 11:27 AM
F15400453: D11229.id26960.diff
Mon, Mar 17, 11:44 AM
F15384635: D11229.id26959.diff
Fri, Mar 14, 8:27 PM
F15333806: D11229.id26960.diff
Sat, Mar 8, 5:02 AM
Unknown Object (File)
Feb 7 2025, 9:48 AM
Unknown Object (File)
Feb 4 2025, 1:45 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.