[Vtigercrm-developers] Changing default view for all users

MrJingles paddy at renaissancegroup.co.uk
Tue Jul 11 15:55:18 GMT 2017


Alan,

In fact just doing some debug testing and I can see that Preexo's posts are
correct. Enabling debugging and logging in as the user and then accessing
the leads module I can clearly see the following in the debug log:

Tue Jul 11 16:10:17 2017,545 [33208] DEBUG VT - Entering
isPermittedCustomView(242,,Leads) method....
Tue Jul 11 16:10:17 2017,545 [33208] DEBUG VT - Prepared sql query being
executed : SELECT status, userid FROM vtiger_customview WHERE cvid=?
Tue Jul 11 16:10:17 2017,545 [33208] DEBUG VT - Prepared sql query
parameters : [242]
Tue Jul 11 16:10:17 2017,545 [33208] DEBUG VT - Entering when status=3
Tue Jul 11 16:10:17 2017,545 [33208] DEBUG VT - Permission
@@@@@@@@@@@@@@@@@@@@@@@@@@@ : no
Tue Jul 11 16:10:17 2017,546 [33208] DEBUG VT - Exiting
isPermittedCustomView(242,,Leads) method....

Looking at the isPermittedCustomView function in the
modules/CustomView/CustomView.php you can clearly see the action is missing
and there permissions are denied for loading the default custom view.

Any thoughts?



--
View this message in context: http://vtiger-crm.2324883.n4.nabble.com/Changing-default-view-for-all-users-tp17883p20989.html
Sent from the vtigercrm-developers mailing list archive at Nabble.com.


More information about the vtigercrm-developers mailing list