Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-9486

Set up `object.value` for `CREATE_DISK` and `DESTROY_DISK` authorizations.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • 1.7.1, 1.8.0
    • master
    • None
    • Storage R8 Sprint 35
    • 1

    Description

      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 through MESOS-7073.

      Attachments

        Issue Links

          Activity

            People

              chhsia0 Chun-Hung Hsiao
              chhsia0 Chun-Hung Hsiao
              Benjamin Bannier Benjamin Bannier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: