Uploaded image for project: 'DC/OS'
  1. DC/OS
  2. DCOS_OSS-3960

DC/OS Test Utils - Take a "host" parameter for Iam methods

    Details

    • Type: Task
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: testing
    • Labels:
      None

      Description

      In https://github.com/mesosphere/dcos-enterprise/pull/2998/files#diff-982fbfed3cd7bc661c86818abbb460e2R76 we wanted to revoke a permission on a particular host, hoping to do:

      test_utils_api_session.delete_user_permission(uid, action rid, host=test_utils_api_session.masters[1])

      The host parameter could be passed through as-is to the delete method used in the implementation of delete_user_permission.

      Similar could exist in all IAM methods.

        Attachments

          Activity

            People

            • Assignee:
              patrickcrews Patrick Crews
              Reporter:
              adamdangoor Adam Dangoor
              Team:
              Dev Prod Team
              Watchers:
              Adam Dangoor, Carter Gawron
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: