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

unshare: can now revoke access for non-email types #504

Merged
merged 1 commit into from
Nov 29, 2015

Conversation

odeke-em
Copy link
Owner

Fixes #503

Allows types like domain, roles like reader etc to
be revoked without having to supply emails. In fact
domain access revokation doesn't have a specific email
so also needs to be handled.

Fixes #503

Allows types like domain, roles like reader etc to
be revoked without having to supply emails. In fact
domain access revokation doesn't have a specific email
so also needs to be handled.
@odeke-em
Copy link
Owner Author

Setting up

$ drive new --folder --no-prompt vines && drive pub vines 

Before

$ drive unshare -role reader -type anyone vines
Revoke access for accountType(s)
    anyone

For roles(s)
    reader

File(s) to unshare:
    + vines

Proceed with the changes? [Y/n]:y
no matches found! 

After

rive unshare -role reader -type anyone vines
Revoke access for accountType(s)
    anyone

For roles(s)
    reader

Addressees:
    + 

File(s) to unshare:
    + vines

Proceed with the changes? [Y/n]:y
successful unshare for vines with email "", role "reader" accountType "anyone"

@odeke-em odeke-em merged commit 521836f into master Nov 29, 2015
@odeke-em odeke-em deleted the unshare-no-email-types branch February 4, 2016 08:48
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

Successfully merging this pull request may close these issues.

1 participant