Page MenuHomePhabricator

Save authorPHID on Passphrase Credentials to support "Credential Author" object policy
ClosedPublic

Authored by epriestley on Jun 22 2015, 2:43 AM.
Tags
None
Referenced Files
F13092524: D13385.diff
Thu, Apr 25, 3:46 AM
Unknown Object (File)
Tue, Apr 9, 11:31 AM
Unknown Object (File)
Thu, Mar 28, 8:52 AM
Unknown Object (File)
Mar 25 2024, 1:56 PM
Unknown Object (File)
Mar 13 2024, 8:58 PM
Unknown Object (File)
Feb 3 2024, 5:15 AM
Unknown Object (File)
Jan 28 2024, 3:00 AM
Unknown Object (File)
Jan 15 2024, 9:02 PM
Subscribers

Details

Summary

Fixes T5135. Currently, when you create a credential, we default the policies to your PHID. This means we can't have an application-level configurable default because there's no way to select "the actor's PHID" as a policy.

Start tracking the credential author's PHID and add an object policy for it, so there is such a setting.

Then, add policy defaults.

This mostly unblocks T6787. This obsoletes T6860.

Test Plan
  • Created a credential with "Credential Author" policy.
  • Verified I can see/edit it, but other users can not.
  • Changed default policies to something else.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Save authorPHID on Passphrase Credentials to support "Credential Author" object policy.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Jun 22 2015, 5:27 PM
This revision was automatically updated to reflect the committed changes.