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

Detailed work with permissions #180

Open
jennybc opened this issue Aug 19, 2017 · 2 comments · May be fixed by #394
Open

Detailed work with permissions #180

jennybc opened this issue Aug 19, 2017 · 2 comments · May be fixed by #394
Labels

Comments

@jennybc
Copy link
Member

jennybc commented Aug 19, 2017

We don't currently offer a way to update or delete a permission. This requires the general ability to list all the permissions for a file and get it into a favourable object, presumably a tibble with one row per permission. Given that info, especially the id of the permission, you're in a position to form additional calls that delete or update it. Finally, all of this is notably different for Team Drives.

@jennybc jennybc changed the title How un-share a file Detailed work with permissions Aug 20, 2017
@jennybc jennybc added the future label Aug 20, 2017
@LucyMcGowan
Copy link
Member

🙊 If I built a wrapper for drive.permissions.update would we call it drive_share_update()?

@jennybc
Copy link
Member Author

jennybc commented Aug 25, 2017

I think this is for a later release. First we have to decide on an official way to create a tibble with one row per permission. So a user can inspect access individual permissions and decide what to do about them. Which variables do you include? Would you do it for exactly one file at a time? This is probably also where Team Drive differ the most. Etc etc. I propose we just let this be for the moment.

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

Successfully merging a pull request may close this issue.

2 participants