diff --git a/UI/Common/UIxAclEditor.m b/UI/Common/UIxAclEditor.m index 0785789cf..e30b03abe 100644 --- a/UI/Common/UIxAclEditor.m +++ b/UI/Common/UIxAclEditor.m @@ -91,12 +91,12 @@ * @apiExample {curl} Example usage: * curl -i http://localhost/SOGo/so/sogo1/Calendar/personal/acls * - * @apiSuccess (Success 200) {Object[]} users List of users with ACL for the folder - * @apiSuccess (Success 200) {String} uid User ID - * @apiSuccess (Success 200) {String} userClass Either 'normal-user', 'normal-group' or 'public-access' - * @apiSuccess (Success 200) {Number} isSubscribed 1 if the user is subscribed to the folder - * @apiSuccess (Success 200) {String} [cn] User fullname - * @apiSuccess (Success 200) {String} [c_email] User main email address + * @apiSuccess (Success 200) {Object[]} users List of users with ACL for the folder + * @apiSuccess (Success 200) {String} users.uid User ID + * @apiSuccess (Success 200) {String} users.userClass Either 'normal-user', 'normal-group' or 'public-access' + * @apiSuccess (Success 200) {Number} users.isSubscribed 1 if the user is subscribed to the folder + * @apiSuccess (Success 200) {String} [users.cn] User fullname + * @apiSuccess (Success 200) {String} [users.c_email] User main email address */ - (id ) aclsAction { diff --git a/UI/Common/UIxUserRightsEditor.m b/UI/Common/UIxUserRightsEditor.m index e4c07e5f6..0fccd5739 100644 --- a/UI/Common/UIxUserRightsEditor.m +++ b/UI/Common/UIxUserRightsEditor.m @@ -183,6 +183,21 @@ return response; } +/** + * @api {get} /so/:username/:folderPath/acls Get ACLs + * @apiVersion 1.0.0 + * @apiName GetAcls + * @apiGroup Common + * @apiExample {curl} Example usage: + * curl -i http://localhost/SOGo/so/sogo1/Calendar/personal/acls + * + * @apiSuccess (Success 200) {Object[]} users List of users with ACL for the folder + * @apiSuccess (Success 200) {String} users.uid User ID + * @apiSuccess (Success 200) {String} users.userClass Either 'normal-user', 'normal-group' or 'public-access' + * @apiSuccess (Success 200) {Number} users.isSubscribed 1 if the user is subscribed to the folder + * @apiSuccess (Success 200) {String} [users.cn] User fullname + * @apiSuccess (Success 200) {String} [users.c_email] User main email address + */ - (id ) userRightsAction { id response;