Page MenuHomePhabricator

Implement a "Project Members" object policy rule
ClosedPublic

Authored by epriestley on Dec 24 2015, 1:19 AM.
Tags
None
Referenced Files
F15459172: D14869.id35956.diff
Mon, Mar 31, 10:32 AM
F15436126: D14869.id.diff
Tue, Mar 25, 12:05 PM
F15429754: D14869.diff
Mon, Mar 24, 4:06 AM
F15418731: D14869.id.diff
Fri, Mar 21, 1:07 AM
F15389947: D14869.id.diff
Sat, Mar 15, 5:47 AM
F15384994: D14869.diff
Fri, Mar 14, 9:22 PM
F15333076: D14869.id35944.diff
Fri, Mar 7, 11:43 PM
F15333075: D14869.id.diff
Fri, Mar 7, 11:43 PM
Subscribers
None

Details

Summary

Fixes T9019. Pretty much ripped from D14467. I added the "policy hint" stuff so that you can create a project with this policy immediately.

I really dislike how the "hint" code works, but we almost never need to use it and the badness feels fairly well-contained.

Also pick up a quick feedback fix from D14863.

Test Plan
  • Added test coverage, got it to pass.
  • Created a project with "Visible To: Project Members".

Diff Detail

Repository
rP Phabricator
Branch
projpolicy2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 9763
Build 11730: Run Core Tests
Build 11729: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Implement a "Project Members" object policy rule.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: joshuaspence, chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Dec 24 2015, 3:27 PM
This revision was automatically updated to reflect the committed changes.