0

i have two folders under alfresco share site , i want to create a rule between them in order to deny access to folder "folder2" unless folder "folder1" has 6 files inside and one of them must be named "toto.html" , did you know a feature , plug in or a module which do that.

PS , i used record management module 2.0.1-147 but it has a bug in alfresco community 4.2.c (after creating disposition schedule , complete event does not work) seems to be a common bug. Help please thx

4

1 回答 1

0

您的规则需要监控对文件夹 1 中文件的任何更改(添加、删除、更新),然后运行自定义操作来检查您的条件并设置对文件夹 2 的权限。请参阅使用规则

该操作可能需要在 Java 中,以便它可以以管理员身份运行(使用AuthenticationUtil.runAs())来设置文件夹 2 的权限,而不管调用者如何,尽管这取决于您尝试实现的场景/工作流程。

于 2013-03-11T22:32:29.870 回答