josephg / josephg/ShareJS

Add a way for the server to tell the client its document is readonly

Open
#28 3 comments 0 reactions 0 assignees View on GitHub
discuss
Dominant language
JavaScript
Stars
5k
Forks
454
PR merge metrics
No merged PRs in 30d

Description

The authorization code should be able to specify that a client's view of a document is readonly.

This message should be passed to the client when the document is opened, and appear as a property on document (`doc.isReadOnly`)

The ace & textarea views should display the text area accordingly (ie, disabled).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.