Parse-Server cloud code can't create Role
问题 I have a class called Project for which I create a Parse.Role for read/write permissions. Here's how I create my Role: var roleName = "hasSound_" + ident; var projectRole = new Parse.Role(roleName, new Parse.ACL()); projectRole.getUsers().add(creator); return projectRole.save().then(function(role) { var acl = new Parse.ACL(); acl.setReadAccess(role, true); //give read access to Role acl.setWriteAccess(role, true); //give write access to Role project.setACL(acl); project.save(); }); And here's