This is an archive of the discontinued Mercurial Phabricator instance.

wireprotoserver: check permissions in main dispatch function
ClosedPublic

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

Details

Summary

The permissions checking code merged from stable is out of place
in the refactored hgweb_mod module.

This commit moves the main call to wireprotoserver. We still have
some lingering code in hgweb_mod. This will get addressed later.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Mar 7 2018, 7:24 PM
durin42 accepted this revision.Mar 9 2018, 1:51 PM
This revision is now accepted and ready to land.Mar 9 2018, 1:51 PM
This revision was automatically updated to reflect the committed changes.