Yan Xu created MESOS-7244:
-----------------------------
Summary: Local authorizer can't match requests with subjects ==
ANY or NONE
Key: MESOS-7244
URL: https://issues.apache.org/jira/browse/MESOS-7244
Project: Mesos
Issue Type: Bug
Reporter: Yan Xu
with the code
[here|https://github.com/apache/mesos/blob/fa7f4090a80b352dbc8bb9c5ee5053970e817826/src/authorizer/local/authorizer.cpp#L630]
not checking {{request.has_subject()}}, the {{aclSubject}} used
[here|https://github.com/apache/mesos/blob/fa7f4090a80b352dbc8bb9c5ee5053970e817826/src/authorizer/local/authorizer.cpp#L212]
is always going to be {{SOME}} based on the if condition.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)