1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-11 01:12:41 +01:00
phorge-phorge/src/applications/people
epriestley 69053a40f9 Dirty the SSH key cache when usernames change
Summary:
Fixes T12554. The SSH key cache contains usernames, but is not currently dirtied on username changes.

An alternative solution would be to use user PHIDs instead of usernames in the file, which would make this unnecessary, but that would make debugging a bit harder. For now, I think this small added complexity is worth the easier debugging, but we could look at this again if cache management gets harder in the future.

Test Plan:
  - Added a key as `ducksey`, ran `bin/ssh-auth`, saw key immediately.
  - Renamed `ducksey` to `ducker`, ran `bin/ssh-auth`, saw username change immediately.
  - Added another key as `ducker`, ran `bin/ssh-auth`, saw key immediately.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12554

Differential Revision: https://secure.phabricator.com/D17687
2017-04-14 08:03:00 -07:00
..
application Update tasks/commits, remove diffs from Profile 2017-03-06 10:13:51 -08:00
cache Add Badges to UserCache 2017-03-17 10:38:17 -07:00
capability People - refine permissions on creating new users 2015-02-05 16:47:09 -08:00
conduit Mark "v3" API methods as stable; mark obsoleted methods as "Frozen" 2017-01-09 07:16:27 -08:00
config Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
controller Fix 4 typos in code 2017-04-07 04:09:56 -07:00
customfield Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
editor Dirty the SSH key cache when usernames change 2017-04-14 08:03:00 -07:00
engine Update tasks/commits, remove diffs from Profile 2017-03-06 10:13:51 -08:00
engineextension Update people hovercard UI 2017-02-21 14:41:10 -08:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
guidance Add a bunch of Phacility-specific code to the upstream, thinly veiled as generic code 2016-11-15 09:11:22 -08:00
icon Add additional icons for User Profiles 2016-01-31 20:09:06 +00:00
lipsum Make bin/lipsum generate hanldle generator keys and arguments more clearly 2017-02-27 09:09:28 -08:00
management Auto-generate profile images for sad psyducks 2017-03-05 08:25:02 -08:00
markup Use violet with not-verified user tags 2017-04-13 12:19:49 -07:00
menuitem Update tasks/commits, remove diffs from Profile 2017-03-06 10:13:51 -08:00
phid Use violet with not-verified user tags 2017-04-13 12:19:49 -07:00
policyrule Move some files around 2015-11-17 06:26:13 +11:00
query Fix two issues with user Calendar event availability cache display 2017-04-10 08:47:27 -07:00
search Convert all "DocumentIndexers" into "FulltextEngines" 2015-12-21 17:25:23 -08:00
searchfield Add basic typechecking support to Conduit 2015-12-14 04:21:39 -08:00
storage Fix two issues with user Calendar event availability cache display 2017-04-10 08:47:27 -07:00
typeahead Separate sever-side typeahead queries into "prefix" and "content" phases 2016-11-10 08:54:59 -08:00
view Use violet with not-verified user tags 2017-04-13 12:19:49 -07:00