[Vtigercrm-developers] Record restriction based on reports_to field.

salim salimcmd at gmail.com
Mon Apr 29 10:20:43 UTC 2013


Hi Team.

    Is there anyway to restrict records based on *reports_to* field. The
role structure :- *roleA *under that there is another role called *roleB.  *And
User :- *UserA1* and *UserA2*. Both of user using *RoleA.  *There is two
more users *UserB1* And *UserB2*. The *UserB1* is *reports_to *field set
to  *UserA1 *and* **UserB2* is *reports_to *field* *set to  *UserA2*. and
both of them using *RoleB.*

    When a user log in to Application he/she can only access the
 records that reports to that user. Example *UserA1 * he can only access
the records that created by *UserB1. *
I think In current implantation of vTiger, *UserA2 * can see the* *records
that created by *UserB1 *even if i set to reports_to field *UserA1*


*Roles*
--------
roleA
      roleB

*User*
-----
UserA1 using role RoleA
      UserB1 using role roleB and reports_to filed set to UserA1
UserA2 using role RoleA
      UserB2 using role roleB and reports_to filed set to UserA2


Thanks
--
Salim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130429/01304e48/attachment.html>


More information about the vtigercrm-developers mailing list