Navigation Menu

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

cannot share sheet and transfer ownership #18

Open
skikut opened this issue Apr 4, 2019 · 3 comments
Open

cannot share sheet and transfer ownership #18

skikut opened this issue Apr 4, 2019 · 3 comments

Comments

@skikut
Copy link

skikut commented Apr 4, 2019

returned "The transferOwnership parameter must be enabled when the permission role is 'owner'.">

I would like to transfer ownership using the workbook.share method: workbook.share(email=email, role='owner', notify=True)

@sl33t
Copy link
Contributor

sl33t commented Apr 4, 2019

@zcmarine Could this be solved by adding the transferOwnership parameter to the new_permission variable if the role is ownership?

@zcmarine
Copy link
Contributor

zcmarine commented Apr 12, 2019

@sl33t Yeah, it looks like it may be as simple as that. I believe we just add it as a parameter to the .create() method here based on the Drive API docs. Let me know if either of you want to take a shot at that and verify it works as expected.

@skikut
Copy link
Author

skikut commented Apr 12, 2019

@zcmarine i have the fix on my local, let me know if you would like me to make the pull request. it was an easy fix

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

3 participants