loopback/lib
ebarault 8aa98a80ef Propagate authorized roles in remoting context
Adds an authorizedRoles object to remotingContext.args.options
which contains all the roles (static and dynamic) that are
granted to the user when performing a request through
strong-remoting to an app with authentication enabled.

The authorizedRoles object for example looks like:
{
  $everyone: true,
  $authenticated: true,
  myRole: true
}

NOTE: this pr also covers a number of jsdoc fixes as well
as refactoring in ACL.js and access-context.js
2017-03-20 12:29:33 +01:00
..
connectors Upgrade eslint-config to 7.x 2017-01-06 12:12:35 +01:00
access-context.js Propagate authorized roles in remoting context 2017-03-20 12:29:33 +01:00
application.js Verify User and AccessToken relations at startup 2017-03-03 10:18:58 +01:00
browser-express.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
builtin-models.js Deep-clone model settings in lib/builtin-models 2017-02-24 15:13:06 +01:00
current-context.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
globalize.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
loopback.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
model.js Warn about injectOptionsFromRemoteContext 2017-01-09 14:45:23 +01:00
persisted-model.js Allow custom properties of Change Model 2017-03-09 08:58:42 +01:00
registry.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
runtime.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
server-app.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
utils.js Optimise replication 2017-02-22 15:12:54 +01:00