title: Parse Server Cloud Code Setting ACL
body: <p>I try to set the ACLs with the code below, but in my mongolab database I do not see the ACL settings. Am I doing something wrong in the code? I could not find any good tutorial for the cloud code examples.</p>
  
  <pre><code>    Parse.Cloud.afterSave('_User', function(req) {
  
      var user = req.user;
      var acl = new Parse.ACL();
      acl.setReadAccess(req.user, true);
      acl.setWriteAccess(req.user, true);
      user.setACL(acl);
      user.save();
  
      });
  
  
      Parse.Cloud.afterSave('userSetting', function(req) {
  
      var userSet = req.object;
  
      var acl = new Parse.ACL();
      acl.setReadAccess(Parse.User.current().id, true);
      acl.setWriteAccess(Parse.User.current().id, true);
      userSet.setACL(acl);
      userSet.save();
  
    });
  </code></pre>