[Vtigercrm-developers] Bug: Can't select an Inactive User in Reports

Błażej Pabiszczak b.pabiszczak at yetiforce.com
Thu Sep 10 09:46:25 GMT 2015


 

Inactive users are a bit problematic, because they're not properly dealt
with by the system. The issue is the "Assigned To" field, and it results
from using one field for everything, instead of using different fields
for various purposes. 

	* 

Records list - this record is used for limitations in records list in
searching by columns. Unfortunately, if we have the access to a given
record, which doesn't result directly from permissions, then it won't be
possible to search by this field [it's enough to limit the role in the
"Can Assign Records TO" field]. That's why we made a different mechanism
for the records list; what shows up in "Assigned to" doesn't result from
the configuration in the role, but from the kind of records we have to
access to, and the list is generated based on these records. It fixed a
ton of problems. 
	* 

Workflow filters - the conditions that work in the same way in filters,
reports, and workflow are a separate problem. The field that is used for
specifying to which users the records can be assigned to, while creating
records, was used for specifying the users, by whom we set the
conditions. And this isn't right, it creates a bunch of problems. 
	* 

In some places such elements are placed in the core, a good example for
that can be the calendar module conditions - for example, if user A
shares the calendar with user B, and then user A becomes inactive, then
user B has no access to A's calendar.

Finding a solution for this problem is more than just 2 or 3 lines of
code. The operational logic has to be changed in several places. This is
a global problem, just like the "Search + uitype10 field". A shortcut
solution was used here and in a few other places; currently the project
is at a stage where all these shortcuts should be thought through and
written from scratch. 
---

Z poważaniem / Regards 

BŁAŻEJ PABISZCZAK 
_Chief Executive Officer_ 
M: +48.884999123
E: b.pabiszczak at yetiforce.com 

W dniu 2015-09-03 14:36, Alan Lord napisał(a): 

> On 03/09/15 13:07, Alan Lord wrote: 
> 
>> One of our customers wants to run a report on sales made by a user that
>> has recently left their company. This user is now set to inactive.
>> 
>> But when you make a condition in the report to select a user against the
>> "Assigned To" field, only active users are shown.
>> 
>> This is a bug IMHO. You could do this in 5.4
> 
> It's worse than that...
> 
> In any listview where you have an assigned to column, even though you can *see* records in the list that are assigned to an Inactive user, you can select an Inactive user's name in the search box above the column.
> 
> This is a bug IMHO
> 
> Al
> 
> _______________________________________________
> http://www.vtiger.com/ [1]
 

Links:
------
[1] http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150910/9c8a2eae/attachment.html>


More information about the vtigercrm-developers mailing list