AnsweredAssumed Answered

Alfresco share document-details client-side permission

Question asked by thbaymet on Apr 24, 2014
Hi,

How can I get user permissions over document (node) in the document-details page. I need to know if a user can edit/delete document in my client side javascript.

As an example, alfresco web-script
alfresco/service/slingshot/doclib2/doclist/
send data like
 "permissions": {

    "roles": [
        "ALLOWED;GROUP_EVERYONE;Consumer;INHERITED"
    ],
    "inherited": true,
    "user": {
        "ChangePermissions": true,
        "CancelCheckOut": false,
        "CreateChildren": true,
        "Write": true,
        "Delete": true
    }

}



Are these permissions are already available in document-details page ?

Outcomes