Re: [timingobject] Access restrictions for timing objects

I agree that it would be useful to expose a property that tells 
whether a `TimingObject` instance is read/write or read-only.

I would suggest to use a `readOnly` boolean property similar to that 
used for `input` fields in HTML:
http://w3c.github.io/html/sec-forms.html#elementdef-input

A boolean property will not allow to capture more granular access 
control rights, but I would not do that unless there is a compelling 
reason to do so. Timing providers may reject update operations that 
they do not want to allow for a given user, and applications can 
implement the logic necessary to prevent such errors from happening in
 the first place.

-- 
GitHub Notification of comment by tidoust
Please view or discuss this issue at 
https://github.com/webtiming/timingobject/issues/21#issuecomment-190285497
 using your GitHub account

Received on Monday, 29 February 2016 16:52:10 UTC