Skip to content

Batch creation of users and groups #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
hrjn opened this issue Jan 7, 2021 · 0 comments
Open

Batch creation of users and groups #8

hrjn opened this issue Jan 7, 2021 · 0 comments
Labels

Comments

@hrjn
Copy link
Contributor

hrjn commented Jan 7, 2021

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
@hrjn hrjn added the admin label Jan 7, 2021
@hrjn hrjn changed the title Security starter content Batch creation of users and groups Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant