mizzao / meteor-sharejs

Meteor smart package for transparently adding ShareJS editors to an app
MIT License
225 stars 53 forks source link

Editor permissions #74

Closed jorgecamse closed 7 years ago

jorgecamse commented 8 years ago

Hi!

I am developing an application and need permissions to the editor. Can you give permission to the editor and that only authorized users can edit a document? If you can not , you could give me some idea how I might add that functionality ?

Thanks!

mizzao commented 8 years ago

This was integrated in #6, and explained in the README (see Meteor users integration), but I don't think many people use it. You should take a look and see if it's what you need.

If it's not what you want, you should definitely refine that code!

DavidSichau commented 8 years ago

@jcamposs With the next version it is planed to remove the current authentication. As it did not provide any real security.

The current solution uses the meteor userid as a secret, which in my believe is not a real secret. Therefore the current solution does not add any security to no security at all.

DavidSichau commented 7 years ago

I close this. As the current version does not support the permission anymore.

curran commented 7 years ago

I wonder if it might be possible to leverage sharedb-access to provide access control in conjunction with meteor-sharejs.