Commit Graph

3 Commits

Author SHA1 Message Date
Andres Suarez
fbdb46f5cb Tidy up license headers
Reviewed By: chadaustin

Differential Revision: D17872966

fbshipit-source-id: cd60a364a2146f0dadbeca693b1d4a5d7c97ff63
2019-10-11 05:28:23 -07:00
Chad Austin
f5b2123642 give ThriftPermissionChecker ServerState instead of UserInfo
Summary:
Give ThriftPermissionChecker flexibility by allowing it to access
UserInfo if it needs to. This also gives ThriftPermissionChecker
access to EdenConfig for use in future diffs.

Reviewed By: wez

Differential Revision: D17844453

fbshipit-source-id: 5f7badd084bfbe82bd6b3797ef68daa7b63741b5
2019-10-10 22:44:03 -07:00
Chad Austin
be2a3d5059 add permission checking to Eden's Thrift server
Summary:
To allow other user accounts to access fb303 counters, we plan to open
our unix domain socket to the world. But that requires implementing
our own permission checks, so do that first.

Reviewed By: wez

Differential Revision: D17459971

fbshipit-source-id: 3cc512da90f725d1c93f25f2a7a5ea7c72fb2b96
2019-10-02 18:52:25 -07:00