Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Currently, `ObjectApproves` does not discern declined authorization from error returned by `ObjectApprovers::approved()`:
As a consequence, authorization errors in ObjectApprover result in silently filtering objects in operator API calls, example: https://github.com/apache/mesos/blob/998aee66bfedd1fe15bb1e1fc43a637fe91662a5/src/master/readonly_handler.cpp#L196
This issue is potentially exacerbated by introduction of synchronous authorization (which will result in transient failures propagated as errors returned by `approved(...)`.
Attachments
Issue Links
- is related to
-
MESOS-10085 Operator API events are silently dropped on transient authorization failures.
- Accepted
-
MESOS-10056 Perform synchronous authorization for scheduler calls.
- Resolved