----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54662/#review158974 -----------------------------------------------------------
Looks good. Just a question about ObjectApprover vs. authorized() src/slave/http.cpp (line 898) <https://reviews.apache.org/r/54662/#comment229873> Is the plan to move everything over to the ObjectApprover API? Why not use the simpler `slave->authorizer.get()->authorized(authRequest)` API for simpler authz checks? Because it's asynchronous? - Adam B On Dec. 12, 2016, 6:37 a.m., Alexander Rojas wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/54662/ > ----------------------------------------------------------- > > (Updated Dec. 12, 2016, 6:37 a.m.) > > > Review request for mesos and Adam B. > > > Bugs: MESOS-6670 > https://issues.apache.org/jira/browse/MESOS-6670 > > > Repository: mesos > > > Description > ------- > > Adds the stub which allows only authorized users to change the log > level of Mesos using the HTTP API v1. > > > Diffs > ----- > > src/slave/http.cpp 8a71eadd8f26df147ddea800221b6f243280bf3b > > Diff: https://reviews.apache.org/r/54662/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Alexander Rojas > >
