ChristophConrads-deepstreamHub
ChristophConrads-deepstreamHub
Hash computation with deepstream 2.0.1 installed with npm works.
I wondered if the smallest possible value for `maxRuleIterations` should be zero or one. Based on [`RuleApplication.prototype._run`](https://github.com/deepstreamIO/deepstream.io/blob/e7eea7c53a2c6aa8af5abaa5df82b278a26646f0/src/permission/rule-application.js#L60) and the fact that [`this._maxIterationCount = maxRuleIterations`](https://github.com/deepstreamIO/deepstream.io/blob/e7eea7c53a2c6aa8af5abaa5df82b278a26646f0/src/permission/rule-application.js#L42), I think `maxRuleIterations` should be at...
According to the [JavaScript client record documentation](https://deepstream.io/docs/client-js/datasync-record/), unsubscribe should remove all callbacks: ``` Unsubscribe all callbacks not associated with a path: user.unsubscribe() ```
[zipped demo code](https://github.com/deepstreamIO/deepstream.io/files/670803/empty-users-file.zip)
Simplified demo: [subscript-operator.zip](https://github.com/deepstreamIO/deepstream.io/files/674403/subscript-operator.zip) `permissions.yml`: ```yml record: "d/*": create: _('perm/JohnDoe').boolean read: _('perm/JohnDoe').boolean "*": create: true write: true read: true delete: true listen: true ```
The issue only occurs with special rules for `create` and `read` but no other combination.
The issue occurs with - deepstream.io 2.0.0 npm, - deepstream.io 2.0.1 npm, - deepstream.io 2.1.0 npm, and - deepstream.io 2.0.1 OS X standalone binary.
The client can be made to report a `RESPONSE_TIMEOUT` error by increasing `recordReadAckTimeout` beyond 3000 (the default value for `recordReadTimeout`): ```JavaScript const options = { recordReadAckTimeout: 10000, // default: 1000...
deepstream.io permission rules apply at the record level and not to data within a record so you have to choose a different approach. Also, the rules listed for `chat` will...
Fundamentally, lists are suited for your problem. Can you please clarify what you mean by "trigger"?