Add comment permission
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2014 04:44 AM
How do I allow add comment for editor from the permissiondefinition.xml?
And what is Execute for?
Thanks in advance.
EDIT: From this forum http://forums.alfresco.com/forum/developer-discussions/alfresco-share-development/consumer-can-add-c..., I've check the comment-list.js file
Upon this code
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.
And what is Execute for?
Thanks in advance.
EDIT: From this forum http://forums.alfresco.com/forum/developer-discussions/alfresco-share-development/consumer-can-add-c..., 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(this.id + "-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.
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2014 05:42 AM
<blockquote>And what is Execute for?</blockquote>
The Execute permission allows Alfresco to manage the extension contents such as scripts, webscripts or configuration nodes that you can store inside the Data Dictionary or in the classpath of the application.
Hope this helps.
The Execute permission allows Alfresco to manage the extension contents such as scripts, webscripts or configuration nodes that you can store inside the Data Dictionary or in the classpath of the application.
Hope this helps.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2014 08:17 AM
Thanks a lot!
