Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-2787

GatewayGroups model for storing adminsGroupId, readOnlyAdminsGroupId and defaultGatewayUsersGroupId

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Create a GatewayGroups thrift model and backend to store the ids of the "Admins", "Read Only Admins" and the default "Gateway Users" group. The "Admins" and "Read Only Admins" group will be used in the API server to automatically grant access to WRITE and READ to those groups, respectively, for newly created entities. The default "Gateway Users" group will be used by migrations (to keep track of previously migrated "Gateway Users" group and to share resources that are being migrated to group-based auth) and also to pre-populate the list of groups to share a new Group Resource Profile or Application Deployment with in UIs (but can be changed by the user).

      The AiravataDataMigrator should use the presence of this model to determine if the gateway groups should be created or not.

      TODO

      • [x] add GatewayGroups model and entity to Registry
      • [x] Create the GatewayGroups in the migration script by calling the Registry
      • [x] create GatewayGroups initializer code to be run in a just-in-time fashion

      Deferred

      • add feature to sharing registry to mark certain groups as being undelete-able
      • add feature to sharing registry to specify a certain group as one that should be added as admin of all groups created (so gateway admins can edit all groups created in a gateway)

      Attachments

        Activity

          People

            marcuschristie Marcus Christie
            marcuschristie Marcus Christie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: