Hi,
I am using Sugar crm 6.2 pro version and i have one requirement that only admin can remove the data from the all sub panels.
User dont have rights to delete the records in the sub panel.
Please provide me solution for this.
Thanks in advance
Hi,
I am using Sugar crm 6.2 pro version and i have one requirement that only admin can remove the data from the all sub panels.
User dont have rights to delete the records in the sub panel.
Please provide me solution for this.
Thanks in advance
Regards
==========================
akkimca
Work as Sugarcrm Freelancer
Feel free to Find me in skype. Its my pleasure to talk with you.
ID: akshay.biztech
Users have the right to delete records in general but not in the sub panels? That makes not much sense to me.
If you want to remove the possiblity to remove records for normal users generally you can do it with role restrictions: define a role "nodelete" without delete functionality and add every non-admin user to this role. The normal users won't be able to delete a record then and the delete-button won't be visible anymore for them.
Stefan Ulrich Sauer
System Analyst
Devoteam Danet GmbH
Gutenbergstraße 10
D-64331 Weiterstadt
Germany
email: Stefan-Ulrich.Sauer@devoteam.com
http://www.devoteam.de
As a SugarCRM Freelancer you should know this .. ;-) .. however if I understand your request proper you want to disable the remove releationship button in the subpanel line which I would (if it should be general) simply would do by overwriting the according Widget and disable it except for administrators.
Look into include/generic/SugarWidgets/SugarWidgetSubPanelRemoveButton.php
should not take more then a couple of minutes.
christoian.
If you wanted to remove the delete button for just some subpanels, you could open the file [custom]/modules/<module_name>/metadata/subpanels/[some_name].php and there remove the delete button entry from subpanel array.
Rafael Queiroz Gonçalves
Advanced OMG UML Certified Professional
Sun Certified Enterprise Architect for the Java Platform
Sun Certified Programmer for the Java 2 Platform
IBM Certified Advanced Application Developer - Lotus Notes and Domino
IBM Certified Application Developer - IBM WebSphere Portlet Factory
Computer Science Mastering / UFSC - PPGCC
Hi,
Thanks for your reply....
Any upgrade safe method is available in sugar to do this ?????
Thanks
Regards
==========================
akkimca
Work as Sugarcrm Freelancer
Feel free to Find me in skype. Its my pleasure to talk with you.
ID: akshay.biztech
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks