projects
/
osm
/
UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Debug, logging, about added to ADMIN dropdown
[osm/UI.git]
/
skyquake
/
framework
/
core
/
modules
/
api
/
userManagementAPI.js
diff --git
a/skyquake/framework/core/modules/api/userManagementAPI.js
b/skyquake/framework/core/modules/api/userManagementAPI.js
index
873ab19
..
c6260df
100644
(file)
--- a/
skyquake/framework/core/modules/api/userManagementAPI.js
+++ b/
skyquake/framework/core/modules/api/userManagementAPI.js
@@
-129,7
+129,7
@@
UserManagement.getUserInfo = function(req, userId, domain) {
data: p,
role: {}
}
- u.role.map(function(r) {
+ u.role
&& u.role
.map(function(r) {
userData.project[p.name].role[r.role] = true
});
}