AnsweredAssumed Answered

Owner permission removal... How?

Question asked by meansartin14 on Oct 23, 2008
Latest reply on Nov 25, 2008 by vinaxwater
I need to, simply, remove the ability to edit and delete a content item from its owner once it has been copied into a folder.

I used this thread to run a simple JavaScript on a new content item when it is added to the folder. This JavaScript contains the following two lines only:


document.setPermissions("Consumer", "GROUP_EVERYONE");
document.setInheritsPermissions(false);

However, I receive an error that 'setPermissions' can not be found.

Any ideas/suggestions? What am I doing wrong? Is there a list of the available JavaScript functions? Is there a better way to do what I want to do?

Outcomes