Skip to content

Commit 994bcb2

Browse files
Rafael VidaurreRafael Vidaurre
authored andcommitted
Merge pull request #90 from masterspambot/patch-2
Urgent fix: Defining roles is not working for instantiated service
2 parents 1580787 + 3c3b3e0 commit 994bcb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/permission.svc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
scope where it is defined and therefore can interact with other modules
108108
**/
109109
validateRoleDefinitionParams(roleName, validationFunction);
110-
roleValidationConfig[roleName] = validationFunction;
110+
Permission.roleValidations[roleName] = validationFunction;
111111

112112
return Permission;
113113
},

0 commit comments

Comments
 (0)