Control what your users can access and save time, money, and frustrations. Lock down sensitive data in SuiteCRM to specific groups or teams. Supports unlimited assigned users, unlimited group assignments to records, custom layouts for each group, login/sudo capabilities and much more.
#2719 - How to not cover modify-code
Hi ,i have develop some code from the original ,but after i install the plug-in ,the code will be cover ? what should i do ?thx
4 years ago
Hi there!
It sounds like you have a custom module that you want to add Security Groups support to? Go to the Admin page and scroll down to the SecuritySuite admin section. Then use the Hookup tool. Select your custom module and run it. You will then need to do a Quick Repair & Rebuild and then a Repair Roles.
Let me know if you have any questions.
4 years ago
ths for reply ,but i change some code in module and include , it is any convenient way to change these code ?
4 years ago
well , i change the native module ,some in include ,some in custom folder,so when i install it ,it will cover the code
4 years ago
If I understand correctly, are you asking if SecuritySuite will overwrite some of your customizations? To be sure, I suggest unzipping SecuritySuite and looking in the /install_dir/notupgradesafe folder. Compare these with your customized files and merge any changes as needed.
4 years ago
yes,it will, so that is the reason i am asking , i find clash files in include ,module and data ,these three folders . Is there a easy way to merge the code? i don't found many conflicts ,most of the file be covered is new added code
4 years ago
What I personally do is to maintain a copy of my customizations, install the package or update, and then merge my changes back in. I'm sure to mark my own customizations with unique comment tags to make the merge as easy as possible. That greatly helps when using a visual diff merge tool which makes merging back in just a matter of minutes.
4 years ago
so you recommend merge ,okay ,i see BTW ,how frequent is the update time for the plugin? will you maintain it ?
4 years ago
SecuritySuite has been maintained for over a decade now. On each new version of SuiteCRM a new release of SecuritySuite is made available shortly after. At this point there aren't many general updates between releases as it is a stable product. Let me know if you have any other questions.
4 years ago
will you have update plan in 7.8.20 version ?
4 years ago
All versions of SuiteCRM from 7.6.1 and up are kept up-to-date with the latest SecuritySuite release. If there is an update it will be made available for all version, including 7.8.20.
4 years ago
wow,great So far ,is there any update plan ,either for bugs or features?
4 years ago
Nothing immediate except for some expanded support for Additional Assigned Users and potentially adding Subpanels as being customizable by Security Group.
I'm going to close this out for now, but feel free to continue with any questions here or open a new support case if anything new comes up. Thanks!
4 years ago
ok,ths for reply and sorry ,but i have another question , the version 8.0 of suitecrm is coming ,do i need to buy again for a new version of plug-in?
4 years ago
No. Just download from your Purchases page again. When a new SuiteCRM release comes out a new SecuritySuite version is usually readying within a day, but do allow up to 3 business days.
When upgading, just install the latest SecuritySuite version in Module Loader WITHOUT uninstalling SecuritySuite. Just install on top of the current version. Then run the following three Admin->Repair steps after the install has completed:
4 years ago
are you using the PhpStorm to merge ? i try to use git in phpstorm but , not help ~~~ i don't know how to do it in minute ,lol
4 years ago
I'm personally a fan of this diffmerge tool: https://sourcegear.com/diffmerge/
4 years ago
so you merge the file in the plugin ,and install the plugin ? or install the plugin first ,and merge it ? how ?by showing the history???
4 years ago
In your case, you would install SecuritySuite into your instance and then merge back in your customizations to the core files.
Something to consider, rarely do you ever need to customize core files. Have you looked at safer ways of accomplishing what you need to do using alternatives such as the Ext framework in SuiteCRM or custom views, logic controllers, etc in the /custom/modules directory? If you post on the SuiteCRM forums with what you are doing there should be plenty of folks to suggest a safer way to do those changes.
4 years ago
so actually can i understand in this way: you have two folders ,or two files ,you compare them and change the code by hand , well , the original don't have some function we want ,so ,we have to change the module root folder ,we even change the sugarbean ,we try to upgrade safe ,but failed
4 years ago
Yes, if you have customized code in the core files that SecuritySuite uses then you will need to merge back in your customizations after installing SecuritySuite. Hopefully you are using a code repository for managing your changes.
4 years ago
but how to merge it in git file ,do you know ?thx a lot
4 years ago
I'm not following and it may be beyond what I can do to help. Do the merges locally and then commit to git.
4 years ago
OKay,thx btw ,why in module/Calendar/tpls/shared_users.tpl you add this : <!---> > ,the ide is suggest mistake ,and i get confused as well ,i know <!--- is comment ,but what is <!---> ,you write code in comment ?
4 years ago
You're right, it's a comment; both start and end tags for the comment. You can ignore this. There is a reason for it for packaging, but nothing that you need it for.