You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Yan Xu (JIRA)" <ji...@apache.org> on 2017/03/14 17:41:41 UTC

[jira] [Created] (MESOS-7244) Local authorizer can't match requests with subjects == ANY or NONE

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)