Merge pull request #545 from zxvv/master

Add an ACL to User, to allow everyone to execute User.passwordReset().
This commit is contained in:
Raymond Feng 2014-09-11 11:36:53 -07:00
commit bd56d973d1
1 changed files with 7 additions and 0 deletions

View File

@ -85,6 +85,13 @@ var options = {
principalId: Role.EVERYONE,
permission: ACL.ALLOW,
property: "confirm"
},
{
principalType: ACL.ROLE,
principalId: Role.EVERYONE,
permission: ACL.ALLOW,
property: "resetPassword",
accessType: ACL.EXECUTE
}
],
relations: {