mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meng Zhu <m...@mesosphere.io>
Subject Re: Review Request 70550: Added `UpdateQuotaConfig` authorization in the local authorizor.
Date Wed, 22 May 2019 12:50:13 GMT


> On May 6, 2019, 1:51 p.m., Benjamin Mahler wrote:
> > include/mesos/authorizer/acls.proto
> > Lines 135-143 (original), 135-152 (patched)
> > <https://reviews.apache.org/r/70550/diff/1/?file=2141202#file2141202line135>
> >
> >     Why do we need the two idential messages?
> >     
> >     Seems like this needs to be spelled out in the comments and in the commit description,
as it's not obvious

I realized that we do not need two messages. We can use the old UpdateQuota ACL to authorize
both UPDATE_QUOTA and UPDATE_QUOTA_WITH_CONFIG actions. Removed.


- Meng


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/70550/#review215072
-----------------------------------------------------------


On April 25, 2019, 4:14 p.m., Meng Zhu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/70550/
> -----------------------------------------------------------
> 
> (Updated April 25, 2019, 4:14 p.m.)
> 
> 
> Review request for mesos, Andrei Sekretenko, Benjamin Mahler, and Till Toenshoff.
> 
> 
> Bugs: MESOS-9640
>     https://issues.apache.org/jira/browse/MESOS-9640
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Also added a test.
> 
> 
> Diffs
> -----
> 
>   include/mesos/authorizer/acls.proto 85a3979bc02ab0145a0934f29eeef7bb65f3c42c 
>   include/mesos/authorizer/authorizer.hpp a86a6eeb592adfc267dcf3faef40e8da3471feaf 
>   src/authorizer/local/authorizer.cpp ec86f053357e4bc85532ea4073b57b272ffc74fe 
>   src/tests/authorization_tests.cpp cad76f664c02dc778884d9850184b672e28f5fee 
> 
> 
> Diff: https://reviews.apache.org/r/70550/diff/1/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Meng Zhu
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message