Merge pull request #545 from zxvv/master
Add an ACL to User, to allow everyone to execute User.passwordReset().
This commit is contained in:
commit
bd56d973d1
|
@ -85,6 +85,13 @@ var options = {
|
||||||
principalId: Role.EVERYONE,
|
principalId: Role.EVERYONE,
|
||||||
permission: ACL.ALLOW,
|
permission: ACL.ALLOW,
|
||||||
property: "confirm"
|
property: "confirm"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
principalType: ACL.ROLE,
|
||||||
|
principalId: Role.EVERYONE,
|
||||||
|
permission: ACL.ALLOW,
|
||||||
|
property: "resetPassword",
|
||||||
|
accessType: ACL.EXECUTE
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
relations: {
|
relations: {
|
||||||
|
|
Loading…
Reference in New Issue