You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Gavin (JIRA)" <ji...@apache.org> on 2019/04/29 09:27:51 UTC

[jira] [Issue Comment Deleted] (MESOS-4196) Enable running tests without authorizer.

     [ https://issues.apache.org/jira/browse/MESOS-4196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gavin updated MESOS-4196:
-------------------------
    Comment: was deleted

(was: www.rtat.net)

> Enable running tests without authorizer.
> ----------------------------------------
>
>                 Key: MESOS-4196
>                 URL: https://issues.apache.org/jira/browse/MESOS-4196
>             Project: Mesos
>          Issue Type: Improvement
>          Components: master, test
>            Reporter: Alexander Rukletsov
>            Priority: Minor
>              Labels: acl, authorization, integration, mesosphere, newbie++, security
>
> We do not support creating {{Master}} instance without an {{Authorizer}} in tests: https://github.com/apache/mesos/blob/aa497e81c945677c570484a8aa1a8c8b2e979dfd/src/tests/cluster.cpp#L217. This leads to a segfault when {{masterFlags.acls = None();}} is used in a test, while it's a valid use case and should be allowed.
> Alternatively, we use {{masterFlags.acls = ACLs();}}, which triggers creation of {{LocalAuthorizer}} with emtpy {{ACLs}}, which seems to be semantically equal to the absence of an authorizer, given {{permissive}} flag is {{true}}. This equivalence should be verified by a test.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)