You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-docum...@googlegroups.com
Hi Ling,
Yes, that is exactly right, anyone with the link can access the role for that ACL, the key itself is not used. If you remove that ACL, and add it again, the link would be new, so it would be like a revokable token.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-docum...@googlegroups.com
Hi Fernando,
In order to share to anyone with the link, you need to POST to the ACL feed:
POST /feeds/default/private/full/document:1234/acl
<entry>
<gAcl:withKey key="doesn't matter">
<gAcl:role value='reader'/>
</gAcl:withKey>
<gAcl:scope type='default'/>
</entry>
However, the .NET library doesn't support the gAcl:withKey element, so you won't be able to do so, unless you define the element yourself.
Note that it doesn't matter what the value of the key attribute is, it just needs to be something.
Claudio
Fernando Benavides
unread,
Apr 4, 2012, 2:12:13 AM4/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-docum...@googlegroups.com
hello Claudio , i being trying to define the element myself , without success , i need a light , i have try extended property , xmlnode , but any of this work
this is in java , in c# setBlob() does not exist , what can i use?
XmlBlob blob = new XmlBlob(); // the suggested key is ignored - google generates their own which we then retrieve
blob.setBlob("<gAcl:withKey key='whatever'><gAcl:role value='"
+ AclRole.WRITER.getValue() + "' /></gAcl:withKey>"); blob.addNamespace(new XmlNamespace("", "http://www.w3.org/2005/Atom")