-
-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: implement access control lists #448
Conversation
lib/tokensecurity.js
Outdated
@@ -546,6 +562,19 @@ module.exports = function (app, config) { | |||
return false | |||
} | |||
|
|||
strategy.isDummy = () => { | |||
return false | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If your function is a oneline that returns a value you do it like () => false
, without the curly braces to save a few lines
I'm thinking we could make the defaults handling a separate effort. That's going to be a big job I think. This currently provides the same functionality with defaults as |
306d3eb
to
d87720d
Compare
ad7c2ca
to
4ce828d
Compare
Move token security strategy into server codebase and implement acls in rest calls.
4ce828d
to
552479c
Compare
Implement acls by using normalized deltas, which are single delta data with all related fields. Subscription/ws deltas are built from normalised deltas. Latest values per path per source are kept in deltacache and full responses are built on the fly checking access control rules in the process.
f426de5
to
39c322f
Compare
For example. /signalk/v1/api/vessels/self/navigation/position/value
TODO: