How to give read only access to users?

232 views
Skip to first unread message

Roshan

unread,
Apr 22, 2013, 10:54:05 AM4/22/13
to etherpad-open-...@googlegroups.com
Hi,

Can anyone please help me to create session for pad's read only link?

I follow following steps to create session for etherpad edit link:
1. Set "requireSession" : true in setting.json
2. Create group pad using 'createGroupPad' method. (http://etherpad.org/doc/v1.2.10/#index_creategrouppad_groupid_padname_text)
3. Then create session using 'createSession' method and set in sessionID cookie. (http://etherpad.org/doc/v1.2.10/#index_createsession_groupid_authorid_validuntil)
4. Open actual links, then it works fine.

But I don't know how to create session for pad's read only link and gives read only access to user.

Thanks,
Roshan

Benoit Lathiere

unread,
Feb 18, 2014, 9:01:51 AM2/18/14
to etherpad-open-...@googlegroups.com
Hi! Rosban,

When I read the doc (http://etherpad.org/doc/v1.3.0/#index_overview) I understand the padID must start with a "r." to a read-only session, and a "g." to a normal session.
Did you already try this?

The doc is on clear. I think a case is missing in the diagram.

Hope I helped You.

Ben.

Reply all
Reply to author
Forward
0 new messages