AnsweredAssumed Answered

Add comment permission

Question asked by e-no91 on May 16, 2014
Latest reply on May 16, 2014 by e-no91
How do I allow add comment for editor from the permissiondefinition.xml?
And what is Execute for?

Thanks in advance.

EDIT: From this forum, I've check the comment-list.js file

Upon this code

       * Update UI to reflect current user's permissions
       * @method handlePermissions
      handlePermissions: function CommentsList_handlePermissions(oRequest, oFullResponse)
         // Examine the user permissions on the parent node
         var permissions = oFullResponse.nodePermissions || {};
         if (permissions["create"])
            Dom.removeClass( + "-actions", "hidden");

         // Return response unmodified
         return oFullResponse;

I'm guessing that I need to have "create" permission to users that I want to be able to add comment. But how do I go around adding Editor into the list? I have no idea how to code it.