HI ,
To each module in the list view if we select some records from list view ,there is a BULK ACTION like shown below.
how can restrict this option(PRINT AS PDF ,EXPORT,DELTE ) to some of USERS ,I means I have 4 user ,for 3 I am trying to disable this options but from where I have to do and for one user it should be enable .
This BULK ACTION is showing to all modules in the list view.
Rest hiding other links are not managble ( like merge , add to target list or print as pdf ).
You may need to write some javascript code for hiding them.
Code can be placed on modules/mod_name/view.list.php.
May I know how can I retrict this option which is showing in BULK ACTION.
Note: For one user it should be show ,rest of them I have to disable ,how can I do this .
You can hide all available options only. Rest you need to put some javascript at view.list.php ( as stated above ). if you donβt want to code , take a look here.
add the condition: if (ACLController::checkAccess('Contacts', 'export', true)) , if the user has access for export it will have access to other buttons
As a more diffult variant you can add custom collumns to role module, look at the file: modules/ACLActions/actiondefs.override.php
@ashish I went through your link which you are provided ,
I am using suitecrm version 7.11 ,I havenβt seen any Global Hide Manager option in my admin section .
How can i find that Global Hide Manager option ,I am new to this CRM.
@p.konetskiy thanks for response ,I have checked modules/Contacts/views/view.list.php there is no code related to print and I have check that link which your shared but custom/include/ there is no folder calles MVC/VIEW.... ,
Could you explain little bit more I am new to this programming ,that will help for me .
@p.konetskiy,Yes this code only there in view_list.php ,May i know where I have to change ,Sorry to asking again I am new to this concept and coding ,plz help me on it .
Thanks
@p.konetskiy,
Sorry, to me still that delete is showing at BULK ACTION dropdown,I have created roles and I have done ``repair``` also ,
I did not understand where I have done the mistaks.
In My Role Export and import I have given NONE but to that User still that import option is showing (when open any module at left side bar ).
May I know how can I solve this Isssue also.
@p.konetskiy,thanks for your valuable time and information,
Yes I have done reloging and Admin->Repair->Repair Roles also .
when I open role managment to that particuler USER every thing is showing correct which I share that image
But there is one option called List Role By User like shown below.