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:42 UTC
[jira] [Commented] (MESOS-7244) Local authorizer can't match
requests with subjects == ANY or NONE
[ https://issues.apache.org/jira/browse/MESOS-7244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15924663#comment-15924663 ]
Yan Xu commented on MESOS-7244:
-------------------------------
/cc [~adam-mesos]
> 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)