[
https://issues.apache.org/jira/browse/MESOS-3064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15001011#comment-15001011
]
Greg Mann commented on MESOS-3064:
----------------------------------
[~jieyu], it occurs to me that we may want to use this {{principal}} field for
authorization of external volumes as well (and in the future,
creation/modification operations on other external resource types as well).
It's possible that we will reuse {{DiskInfo}} for the purposes of external
volumes, in which case it would be nice to have a principal field there rather
than reproducing the field in both {{Resource.DiskInfo.Persistence}} and
another location. There will also be external resources without {{DiskInfo}},
so in that case it might make sense to add the {{principal}} field directly to
{{Resource}}. Thoughts?
> Add 'principal' field to 'Resource.DiskInfo.Persistence'
> --------------------------------------------------------
>
> Key: MESOS-3064
> URL: https://issues.apache.org/jira/browse/MESOS-3064
> Project: Mesos
> Issue Type: Task
> Reporter: Michael Park
> Assignee: Greg Mann
> Labels: mesosphere, persistent-volumes
>
> In order to support authorization for persistent volumes, we should add the
> {{principal}} to {{Resource.DiskInfo}}, analogous to
> {{Resource.ReservationInfo.principal}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)