Hello all
How can we set access rites of participant added to newly created
wave .I am creating this wave using Active Robot API.
I have tried following code
Set<String> defaultParticipants = new HashSet<String>();
defaultParticipants.add("[email protected]");
defaultParticipants.add("[email protected]");
Wavelet wavelet =
robot.newWave("wavesandbox.com",defaultParticipants);
wavelet.getParticipants().setParticipantRole("[email protected]",
Participants.Role.READ_ONLY);
wavelet.getParticipants().setParticipantRole("maan82-
[email protected]", Participants.Role.READ_ONLY);
resp.getWriter().write(wavelet.getParticipants().getParticipantRole("[email protected]").toString());
resp.getWriter().write(wavelet.getParticipants().getParticipantRole("maan82-
[email protected]").toString());
when i make request to the servlet it creates wave and adds
participant in it.On the web page it shows Role of participants as
READ_ONLY READ_ONLY.When i open same wave through wave client role of
the participants is shown as Full Access.Both participant are able to
reply to this wave.
How can we make this wave read only participant?
--
You received this message because you are subscribed to the Google Groups
"Google Wave API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-wave-api?hl=en.