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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.7.1, 1.8.0
    • Component/s: master
    • Labels:
      None
    • Target Version/s:
    • Sprint:
      Storage R8 Sprint 35
    • Story Points:
      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

            • Assignee:
              chhsia0 Chun-Hung Hsiao
              Reporter:
              chhsia0 Chun-Hung Hsiao
              Shepherd:
              Benjamin Bannier

              Dates

              • Created:
                Updated:
                Resolved:

                Agile

                  Issue deployment