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

share: anyone with link, not publicly published #648

Merged
merged 1 commit into from
May 19, 2016

Conversation

odeke-em
Copy link
Owner

Allow sharing of file with anyone with link without
having to publish it to the internet. Publishing is different
because after a file is published, it is indexed
(See #568 (comment)).
We don't want the file to be indexed, but just accessible by anyone with
a link to it.

$ drive share --type user,anyone,anyone,user --role reader,anyone --emails "emm.odeke@gmail.com" outf.gif
Provide access for accountType(s)
  user
  anyone

For roles(s)
  reader

Addressees:
  + emm.odeke@gmail.com
  + Anyone with the link

File(s) to share:
  + outf.gif

Proceed with the changes? [Y/n]:y
successful share for outf.gif with email "emm.odeke@gmail.com", role "reader" accountType "user"
successful share for outf.gif with email "", role "reader" accountType "anyone"

Fixes #568.

Allow sharing of file with `anyone with link` without
having to publish it to the internet. Publishing is different
because after a file is published, it is indexed
(See #568 (comment)).
We don't want the file to be indexed, but just accessible by anyone with
a link to it.

```shell
$ drive share --type user,anyone,anyone,user --role reader,anyone --emails "emm.odeke@gmail.com" outf.gif
Provide access for accountType(s)
  user
  anyone

For roles(s)
  reader

Addressees:
  + emm.odeke@gmail.com
  + Anyone with the link

File(s) to share:
  + outf.gif

Proceed with the changes? [Y/n]:y
successful share for outf.gif with email "emm.odeke@gmail.com", role "reader" accountType "user"
successful share for outf.gif with email "", role "reader" accountType "anyone"
```

Fixes #568.
@thebaddie
Copy link

Testing it right now but it still is public and indexed,
maybe is the allowFileDiscovery: false missing?

Sharing screenshot

@odeke-em
Copy link
Owner Author

Hello @thebaddie. Thank you for the test. Yes, I noticed that with drive/v2 this option isn't provided. We should probably start moving over to drive/v3.

@odeke-em odeke-em deleted the share-anyone-with-link branch June 11, 2016 07:06
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.

2 participants