Permalink
Browse files

Updated _group parser

  • Loading branch information...
1 parent 8d7dba9 commit b3c24e3de696d33e025d0063e9051ba6f1f3e30b @bemson committed Feb 23, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/salt.js
View
@@ -157,12 +157,12 @@
(groupName = groupName.trim().toLowerCase()) &&
!defaultPermissions.hasOwnProperty(groupName)
) {
- groups[groupName.toLowerCase()] = true;
+ groups[groupName] = true;
}
}
node.groups = groups;
- node.cGrps = Object.keys(groups);
}
+ node.cGrps = Object.keys(node.groups);
},
// Specify cascading permissions when a state is entered and exited
_perms: function (tagName, exists, tags, node, parentNode, pkg, idx) {

0 comments on commit b3c24e3

Please sign in to comment.