Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1187

Create JobKey-scoped Permissions and apply to AuroraSchedulerManager

    XMLWordPrintableJSON

Details

    • Story
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • Scheduler, Security
    • None
    • Twitter Aurora Q1'15 Sprint 5, Twitter Aurora Q1'15 Sprint 6
    • 5

    Description

      https://reviews.apache.org/r/31820/ added support for coarse-grained permissions based on the thrift API method name. Support finer-grained permissions scoped down to the job

      For example calls to

      auroraSchedulerManager.descheduleCronJob(JobKey(role='ksweeney', environment='prod', name='download_lunch_menu'), None, None)
      

      currently check for the thrift.AuroraSchedulerManager:descheduleCronJob Permission when they should check for the thrift.AuroraSchedulerManager:descheduleCronJob:ksweeney:prod:download_lunch_menu Permission.

      Attachments

        Issue Links

          Activity

            People

              kevints Kevin Sweeney
              kevints Kevin Sweeney
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: