Is there a way in the Python client or the API to add a user to a team as a manager?
Created by pstoutdev Hi @pstoutdev ,
I would agree. I will confer with the platform team. @kdaily This is working but we've run into a throttling issue: `[WARNING] Requests are too frequent for API call: /membershipinvitation. Allowed 3 requests every 3600 seconds....`
Only allowing 3 requests per hour is very restrictive. Can this be increased (globally or individually per user account)? Perfect! Thanks Kenny. Hi @pstoutdev !
Yes, there is. I have implemented this in a codebase you are familiar with (the ki rally manager). Here are the highlighted components you need to have - I will file a documentation issue to provide this solution more broadly.
## Permissions required for a manager
https://github.com/Sage-Bionetworks/ki-rally-manager/blob/master/kirallymanager/manager.py#L18-L19
## Function to invite a user to a team and promote them to a manager (they will be a manager once they accept the invitation):
https://github.com/Sage-Bionetworks/ki-rally-manager/blob/master/kirallymanager/manager.py#L181-L212
Drop files to upload
How to add users to a team as a Manager page is loading…