MAAP Organizations

Organization Membership within MAAP

MAAP Organizations were added in version 4.1.0 to control access to job queues and other MAAP resources. Users may be assigned to one or more organizations within the MAAP hierarchy of organization teams. Users within these teams may be designated as Org Maintainers.

In a future version of MAAP, Org Maintainers will have the ability to add and remove members to their teams, as well assign job queue resource limits per user as needed. As of version 4.1.0, organization membership is controlled strictly by MAAP administrators.

Job Queue Access

Only job queues assigned to your organization(s) will be allowed for use when registering an algorithm or submitting jobs. When submitting jobs via the Jobs UI, only your org-assigned queues are visible in the queue selection menu. Any publicly-accessible queues, such as the sandbox queue, are accessible to all users of the MAAP platform.

See the Queues page for more information about the current queues.

Viewing Your Organizations

from maap.maap import MAAP
import json
maap = MAAP()

me = maap.profile.account_info()
print(json.dumps(me, indent=2))
>>> {
  "id": 1,
  "username": "maap_user",
  "email": "maap_user@nasa.gov",
  "first_name": "MAAP",
  "last_name": "User",
  "status": "active",
  "creation_date": "2023-06-14T21:09:57.922240",
  "organizations": [
    {
      "id": 1,
      "name": "Dev Team"
    }
  ]
}

Viewing Your Job Queues

from maap.maap import MAAP
import json
maap = MAAP()

me = maap.getQueues().json()
print(json.dumps(me, indent=2))
>>> {
  "code": 200,
  "message": "success",
  "queues": [
    "maap-dps-worker-16gb",
    "maap-dps-worker-8gb",
    "maap-dps-sandbox"
  ]
}