Skip to content
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

Bulk/Batch CRUD Operations #46

Open
rob9095 opened this issue Oct 16, 2019 · 1 comment
Open

Bulk/Batch CRUD Operations #46

rob9095 opened this issue Oct 16, 2019 · 1 comment

Comments

@rob9095
Copy link

rob9095 commented Oct 16, 2019

Is there any way to do bulk or batch CRUD operations? For example, I have a script that creates a new user and then I need to add each project permission 1 by 1 to that user. Since there are about 150 permissions I would like to send 1 api request to create them all not 150 individual requests. In my case, there are only 3 parent projects. However when I add the permission on the parent project all the children projects do not get the same permission. I've also tried setting a default permission for the workspace but even after doing this and giving the user a workspace permission they still do not get access to the projects and child projects. Is there a better way to go about this? I noticed the rally frontend doesn't use the api and will let you bulk update permissions in one request.

@rob9095
Copy link
Author

rob9095 commented Oct 17, 2019

I created a PR to support batch type requests on the create method (#47)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant