-
Notifications
You must be signed in to change notification settings - Fork 12
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
Adding project/report sharing utility code #212
Comments
Sharing many objects with one or more users and groups seems like a great utility. I think it can be even used immediately for e.g. #198. What about the following interface?
We should also have error handling in case some users or groups cannot be shared on the items. I think We could even write a
|
I like the Working on that error handling will be fun, since I've never actually had to build in good manual error handling before. Do you have strong preferences about how it should work? Just And oh I really like the idea of |
Yes!
Something like I'm thinking that the output should be a list
Yes, from the documentation it seems that |
I have utility code developed for a client engagement that pulls all of the reports from a given project (
get_report_ids
) and then shares those reports with a list of group ID's (share_list_of_reports
).I think the questions are: (1) is this code worth adding in its present function? and (2) does it generalize to anything nice?
This code may or may not generalize nicely. For example, I can think of an inelegant way to generalize one or both functions which involves catching exceptions, but a more sophisticated way of doing it currently escapes me.
The text was updated successfully, but these errors were encountered: