loopback/test
Eric b0d6c4a7d2 Add "returnOnlyRoleNames" option to Role.getRoles
Currently the return type of Role.getRoles() method is inconsistent:
role names are returned for smart roles and role ids are returned for
static roles (configured through user-role mapping).

This commit adds a new option to Role.getRoles() allowing the caller
to request role names to be returned for all types of roles.
2016-11-30 16:46:59 +01:00
..
e2e Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
fixtures Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
helpers Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
util Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
access-control.integration.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
access-token.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
acl.test.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
app.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
change-stream.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
change.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
checkpoint.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
data-source.test.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
email.test.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
error-handler.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
geo-point.test.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
hidden-properties.test.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
integration.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
karma.conf.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
key-value-model.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
loopback.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
memory.test.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
model.application.test.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
model.test.js add allowArray to relations' create remoteMethod 2016-11-23 12:00:18 -05:00
registries.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
relations.integration.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
remote-connector.test.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
remoting-coercion.test.js Update eslint to loopback config v5 2016-11-22 14:08:02 +01:00
remoting.integration.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
replication.rest.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
replication.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
rest.middleware.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
role.test.js Add "returnOnlyRoleNames" option to Role.getRoles 2016-11-30 16:46:59 +01:00
user.integration.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00
user.test.js Turn on "no-unused-expressions" rule for eslint 2016-11-22 15:30:04 +01:00