Hi, aram.
It is right possible and pretty easy to do:
First of all inside the module you want to restrict access create the directory views
modules/YourModule/views
Copy inside this directory the file include/MVC/View/views/view.list.php
Rename the class name from ViewList to YouModuleViewList and rename the extends from SugarView to ViewList.
Remove all functions less the display()
And rename the line
PHP Code:
echo $lv->display();
to
PHP Code:
echo $lv->display(false);
That is it.
--
André Lopes
Lâmpada Global Services
Rua Bela Cintra, 299 conjunto. 51
São Paulo, SP 01415-000
tel1. 55 11 3237-3110
cel. 55 11 7636-5859
e-mail: info@lampadacrm.com.br
Bookmarks