> On May 22, 2016, 10:58 p.m., Michael Park wrote:
> > include/mesos/authorizer/authorizer.hpp, line 51
> > <https://reviews.apache.org/r/47558/diff/6/?file=1390615#file1390615line51>
> >
> > I'm leaning towards calling this `ObjectAuthorizer`. We would effectively have
`authorized(subject, action, object)` and `object_authorizer = authorized(subject, action);
object_authorizer.authorized(object);`. What do you think?
As mentioned earlier: The goal here was to differentiate between the asynchronous `authorized()`
call and the synchronous `allow` call.
If you feel that is not needed, I will happily change this.
- Joerg
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/47558/#review134295
-----------------------------------------------------------
On May 22, 2016, 9:25 p.m., Joerg Schad wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/47558/
> -----------------------------------------------------------
>
> (Updated May 22, 2016, 9:25 p.m.)
>
>
> Review request for mesos, Michael Park and Vinod Kone.
>
>
> Bugs: MESOS-5403
> https://issues.apache.org/jira/browse/MESOS-5403
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Added allower interface to authorizer.
>
>
> Diffs
> -----
>
> include/mesos/authorizer/authorizer.hpp ed5f9e73661e25a83722cf1e408ae61023cd4a21
> src/authorizer/local/authorizer.hpp 61388454025211fd7d53e71a86983fd8479950b6
> src/authorizer/local/authorizer.cpp dc53bc4374aea98b5ed41ade5617374d2447229b
> src/tests/mesos.hpp 79bf1ff16412ce2a510a9b75ab1ac91c1c182653
> src/tests/mesos.cpp 629135f0dc59346f0fcddb2cbe65ca5770fad34e
>
> Diff: https://reviews.apache.org/r/47558/diff/
>
>
> Testing
> -------
>
> tested entire chain.
>
>
> Thanks,
>
> Joerg Schad
>
>
|