-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66531/
-----------------------------------------------------------
(Updated April 27, 2018, 1:14 p.m.)
Review request for mesos, Chun-Hung Hsiao and Greg Mann.
Bugs: MESOS-8748
https://issues.apache.org/jira/browse/MESOS-8748
Repository: mesos
Description
-------
The new authorization action is modelled after `CreateVolume`, and will
be shared by both `GROW_VOLUME` and `SHRINK_VOLUME` operations and
corresponding operator APIs.
Diffs (updated)
-----
include/mesos/authorizer/acls.proto 8ef33210644e7d2924b402a3158b1b38c1fdb464
include/mesos/authorizer/authorizer.proto
1508c01130013d74ed2b2574a2428f38e3d2c064
src/authorizer/local/authorizer.cpp c098ba9ded1b29a2e079cf09ab80b61f6fa4af05
src/master/master.hpp a7cadd9c97add92a0276bf64e0da941cae63fd7c
src/master/master.cpp c723a291ed8d219ced4492bc905ac6b52683ae47
Diff: https://reviews.apache.org/r/66531/diff/5/
Changes: https://reviews.apache.org/r/66531/diff/4-5/
Testing
-------
Manually created ACL and verified that untrusted principals will not allow to
grow/shrink volumes.
Also created unit test in next patch.
Thanks,
Zhitao Li