mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Rojas <>
Subject Re: Review Request 47794: Added authorization support for mesos::internal::Files.
Date Thu, 26 May 2016 01:07:46 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated May 26, 2016, 3:07 a.m.)

Review request for mesos, Adam B, Benjamin Mahler, Joerg Schad, Michael Park, and Vinod Kone.

Bugs: MESOS-5153

Repository: mesos


Adds an optional parameter to the `mesos::internal::Files::attach()`
method. The type of this parameter is a callable object which returns
a future to a boolean and takes as parameter an optional string
representing a principal name.

The parameter is called, if set, whenever one of the routed endpoints
of the `Files` object is accessed through HTTP. If the callable object
returns a false boolean, then processing of the request is aborted
and a `403 Forbidden` response is returned.

Diffs (updated)

  src/files/files.hpp 90acb3406c46c164108deb559af71fb109a5773b 
  src/files/files.cpp e4b0ada00aabba6553810391f4015a896f8a69a5 
  src/tests/files_tests.cpp 5d6620d13babaf0bb7f9c888bb1b4fa2228b6ccd 



`make check`


Alexander Rojas

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