AnsweredAssumed Answered

Blank permission for group after API setPermission

Question asked by staifresco on Oct 1, 2014
Latest reply on Nov 28, 2014 by staifresco
Hi everybody,

I have a little problem assigning group permission to a folder via Alfresco API on a script.


On my script I do something like that:

folders[0].setPermission('All', 'TEST_GROUP');

After that to check if the script has actually setted the right permission I print them on the log and I get the right result.

logger.log(folders[0].permissions);
ALLOWED;SAP_SERVICE;All,ALLOWED;TEST_GROUP;All,ALLOWED;GROUP_EVERYONE;All

As I can see the permission form my TEST_GROUP was setted correctly.

But than, when I go to check the permission from the share interface on my folder I see a white row for my test group as u can see on the attached PNG.

Does anyone know why or what could be the issue ?




Attachments

Outcomes