0

我想要什么:- 我需要将一个项目分配给多个用户,并且该项目仅对分配的用户可见。

我所做的:- 我在具有名称的模块构建器的帮助下创建了一个模块allproject。如果我在其中使用“分配给”字段,allproject则它仅分配给一个用户,并且该项目仅在角色的帮助下对分配的用户可见-但它不满足我将多个用户分配给该项目的要求。

另外:-我在 中创建了多对多关系,在allproject中创建了一个用户子面板allproject,并将该项目分配给多个用户,但在用户配置文件中,在子面板中分配给他们的项目不可见。

4

1 回答 1

1

There is a brilliant module SecuritySuite http://www.sugarforge.org/projects/securitysuite/ that can solve your problem completely: you'll assign users needed to a group and then assign project record to the same group. You also need to make some module settings adjustments (read manual supplied attentively). Thus you can restrict access only users "assigned" (i.e. included in the security group) to the project. Play with that module a little, it's really worth it to solve difficult SugarCRM' access restriction needs.

于 2013-05-22T16:29:30.157 回答