Skip to content

Batch creation of users and groups #8

Description

@hrjn

It is common for a DSS admin to add multiple users to an instance at once.

The goal here is to provide an example of how to programmatically create users/groups in batches, leveraging DSSClient.create_user() and DSSClient.create_group(). The input can be as simple as a Python list, or it can be a JSON/YAML file.

Bonus:

  • in a UIF setup, add impersonation rules with DSSGeneralSettings.add_impersonation_rule()
  • grant permissions to existing projects

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions