This is an archive of the discontinued Mercurial Phabricator instance.

wireproto: formalize permissions checking as part of protocol interface
ClosedPublic

Authored by indygreg on Mar 7 2018, 7:24 PM.

Details

Summary

Per the inline comment desiring to formalize permissions checking
in the protocol interface, we do that.

I'm not convinced this is the best way to go about things. I would love
for there to e.g. be a better exception for denoting permissions
problems. But it does feel strictly better than snipping attributes
on the proto instance.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped