Chun-Hung Hsiao created MESOS-9486:
--------------------------------------

             Summary: Set up `object.value` for `CREATE_DISK` and 
`DESTROY_DISK` authorizations.
                 Key: MESOS-9486
                 URL: https://issues.apache.org/jira/browse/MESOS-9486
             Project: Mesos
          Issue Type: Improvement
          Components: master
            Reporter: Chun-Hung Hsiao
            Assignee: Chun-Hung Hsiao


We should be defensive and set up {{object.value}} to the role of the resource 
for authorization actions {{CREATE_BLOCK_DISK}}, {{DESTROY_BLOCK_DISK}}, 
{{CREATE_MOUNT_DISK}} and {{DESTROY_MOUNT_DISK}} so an old-school authorizer 
can rely on the field to perform authorization.

This behavior is deprecated though, so will be removed once all `*_WITH_ROLE` 
authorization action aliases are removed.



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

Reply via email to