[Vtigercrm-developers] Role based default module
Alan Lord
alanslists at gmail.com
Thu Apr 30 07:59:56 GMT 2020
This was added recently - it's a per-user setting:
https://code.vtiger.com/vtiger/vtigercrm/issues/89
Al
On 30/04/2020 08:37, Vincenzo Bruno wrote:
> Hi,
>
> Vtiger has one default module for all. I need users are sent to
> different module at login, based on their role. Is already there a way
> to to that?
>
> Even a user preference would be Ok, but I didn't find it.
>
> Eventually the solution is quite simple:
>
> 1) add a field to the table vtiger_role with the module's name
>
> 2) in function process() inside includes/main/WebUI.php check if that
> field is not empty and override the global default value
> $defaultModule = vglobal('default_module');
>
> What do you think about?
>
> Vincenzo
>
> _______________________________________________
> http://www.vtiger.com/
>
More information about the vtigercrm-developers
mailing list