----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/48038/#review138135 -----------------------------------------------------------
Ship it! Ship It! - Alexander Rukletsov On June 16, 2016, 11:03 p.m., Michael Park wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/48038/ > ----------------------------------------------------------- > > (Updated June 16, 2016, 11:03 p.m.) > > > Review request for mesos, Alexander Rukletsov, Joris Van Remoortere, Vinod > Kone, and Zhitao Li. > > > Bugs: MESOS-5628 > https://issues.apache.org/jira/browse/MESOS-5628 > > > Repository: mesos > > > Description > ------- > > As described in https://reviews.apache.org/r/48039/, `QuotaHandler` is > updated to send only one authorization request per action. > > In this patch, we update the `LocalAuthorizer` to handle `UPDATE_QUOTA`. > Note that `QuotaHandler` encodes the type of the request (set or remove) > by setting the `value` field of `Object` to `"SetQuota"` or > `"RemoveQuota"`. The `LocalAuthorizer` uses this information to support > `ACL::SetQuota` and `ACL::RemoveQuota` throughout the deprecation cycle. > > > Diffs > ----- > > src/authorizer/local/authorizer.cpp > 558f332b3a5382cee64fb1dcf57b110e481b1efc > > Diff: https://reviews.apache.org/r/48038/diff/ > > > Testing > ------- > > `make check` > > > Thanks, > > Michael Park > >