[Vtigercrm-developers] How to hide other group (not member of) in assigned_to field ?

Alan Lord alanslists at gmail.com
Fri Feb 27 11:26:48 GMT 2015


On 27/02/15 10:51, Alan Lord wrote:
> On 25/11/14 12:26, apcloic wrote:
>> Ok, it looks like this is an important issue only for me ;)

> The ability to stop users assigning records to people above them by Role
> is great. But they can still assign to *any* group.

If I apply the little patch that aploic posted in January for the file 
layouts/vlayout/modules/Vtiger/uitypes/Owner.tpl:

 From this:
> {foreach key=OWNER_ID item=OWNER_NAME from=$ALL_ACTIVEGROUP_LIST}

to this:

> {foreach key=OWNER_ID item=OWNER_NAME from=$ACCESSIBLE_GROUP_LIST}

And you have private modules then this seems to work. I am not sure if 
there are any further implications but it seems to do what I need for now.

Thanks




More information about the vtigercrm-developers mailing list