Skip to content

Instantly share code, notes, and snippets.

@hatimalam
Created June 25, 2019 05:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hatimalam/b6da15cec6c75423c5aede51f3997e70 to your computer and use it in GitHub Desktop.
Save hatimalam/b6da15cec6c75423c5aede51f3997e70 to your computer and use it in GitHub Desktop.
Enable ACL vardef for Product Catalog
<?php
/**
* Overriding PC bean to enable ACL
* custom/Extension/modules/ProductTemplates/Ext/Vardefs/enable_acl_vardef.php
*/
$dictionary['ProductTemplate']['acls'] = array('SugarACLLockedFields' => true, 'SugarACLStatic' => true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment