Hi,

Sorry, I should have been clear. I was referring to examples related to how
to use them. there are examples for view_tasks but not for others.

On Wed, Aug 31, 2016 at 7:44 PM, haosdent <[email protected]> wrote:

> Hi, @haripriya I saw we already have "view_executors" in the document (
> https://github.com/apache/mesos/blob/master/docs/
> authorization.md#authorizable-actions) ?
>
> On Thu, Sep 1, 2016 at 4:41 AM, Haripriya Ayyalasomayajula <
> [email protected]> wrote:
>
>> Well, I had to turn on auth for run_tasks, I had different set of
>> configuration there.
>> I had some syntax issue with the above mentioned configurations in my
>> original file, fixed them and it works file.
>> Is there a way the flags view_executors etc can be added to the existing
>> documentation?
>>
>> On Wed, Aug 31, 2016 at 1:26 AM, haosdent <[email protected]> wrote:
>>
>>> Because your types are ANY, have you consider disable auth via don't
>>> specify `--acl` flag when you launch Mesos master?
>>>
>>>
>>>
>>> On Wed, Aug 31, 2016 at 3:00 AM, Haripriya Ayyalasomayajula <
>>> [email protected]> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I've upgraded my mesos cluster to 1.0.
>>>> I have spark and Marathon registered as frameworks and have no problem
>>>> running jobs.
>>>> I am unable to see any frameworks nor any tasks on the web UI.
>>>>
>>>> I found out that the following fields have been added to acls.
>>>>  view_frameworks, view_tasks, view_executors, access_sandboxes,
>>>> access_mesos_logs
>>>> and there are no examples related to these in:
>>>> http://mesos.apache.org/documentation/latest/authorization/
>>>> Can someone help me understand where I'm going wrong?
>>>>
>>>> Looking at the JIRA https://issues.apache.org/jira/browse/MESOS-5746
>>>> I tried to come up with this json configuration, but that doesn't seem
>>>> to work either.
>>>> Here is my mesos_acls.json file:
>>>>
>>>>   "get_endpoints": [  {
>>>>
>>>>           "principals": {  "type": "ANY" },
>>>>
>>>>           "paths": {  "type": "ANY"  }  }
>>>>
>>>>    ],
>>>>
>>>>
>>>>   "view_frameworks": [  {
>>>>
>>>>           "principals": {  "type": "ANY" },
>>>>
>>>>           "users": {  "type": "ANY"  }  }
>>>>
>>>>    ],
>>>>
>>>>
>>>>   "view_tasks": [  {
>>>>
>>>>           "principals": {  "type": "ANY" },
>>>>
>>>>           "users": {  "type": "ANY"  }  }
>>>>
>>>>    ],
>>>>
>>>>  "view_executors": [  {
>>>>
>>>>           "principals": {  "type": "ANY" },
>>>>
>>>>           "users": {  "type": "ANY"  }  }
>>>>
>>>>    ],
>>>>
>>>>  "access_sandboxes": [  {
>>>>
>>>>           "principals": {  "type": "ANY" },
>>>>
>>>>           "users": {  "type": "ANY"  }  }
>>>>
>>>>    ],
>>>>
>>>>  "access_mesos_logs": [  {
>>>>
>>>>           "principals": {  "type": "ANY" },
>>>>
>>>>           "logs": {  "type": "ANY"  }  }
>>>>
>>>>    ],
>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Haripriya Ayyalasomayajula
>>>>
>>>>
>>>
>>>
>>> --
>>> Best Regards,
>>> Haosdent Huang
>>>
>>
>>
>>
>> --
>> Regards,
>> Haripriya Ayyalasomayajula
>>
>>
>
>
> --
> Best Regards,
> Haosdent Huang
>



-- 
Regards,
Haripriya Ayyalasomayajula

Reply via email to