by eggsurplus

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.

Free 30 day trial
Try it Now

#2719 - How to not cover modify-code

Closed Feature created by zhangfengkai1 Verified Purchase a year ago

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

  1. eggsurplus member avatar

    eggsurplus Provider Affiliate

    a year 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.

    • zhangfengkai1 member avatar

      zhangfengkai1 Verified Purchase

      a year ago

      ths for reply ,but i change some code in module and include , it is any convenient way to change these code ?

  2. zhangfengkai1 member avatar

    zhangfengkai1 Verified Purchase

    a year ago

    well , i change the native module ,some in include ,some in custom folder,so when i install it ,it will cover the code

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      a year 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.

    • zhangfengkai1 member avatar

      zhangfengkai1 Verified Purchase

      a year 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

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      a year 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.

    • zhangfengkai1 member avatar

      zhangfengkai1 Verified Purchase

      a year ago

      so you recommend merge ,okay ,i see
      BTW ,how frequent is the update time for the plugin? will you maintain it ?

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      a year 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.

    • zhangfengkai1 member avatar

      zhangfengkai1 Verified Purchase

      a year ago

      will you have update plan in 7.8.20 version ?

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      a year 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.

    • zhangfengkai1 member avatar

      zhangfengkai1 Verified Purchase

      a year ago

      wow,great
      So far ,is there any update plan ,either for bugs or features?

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      a year 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!

    • zhangfengkai1 member avatar

      zhangfengkai1 Verified Purchase

      a year 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?

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      a year 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:

      • Quick Repair & Rebuild
      • Rebuild Relationshipss
      • Repair Roles
    • zhangfengkai1 member avatar

      zhangfengkai1 Verified Purchase

      a year 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

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      a year ago

      I'm personally a fan of this diffmerge tool: https://sourcegear.com/diffmerge/

    • zhangfengkai1 member avatar

      zhangfengkai1 Verified Purchase

      a year 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???

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      a year 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.

    • zhangfengkai1 member avatar

      zhangfengkai1 Verified Purchase

      a year 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

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      a year 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.

    • zhangfengkai1 member avatar

      zhangfengkai1 Verified Purchase

      a year ago

      but how to merge it in git file ,do you know ?thx a lot

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      a year 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.

    • zhangfengkai1 member avatar

      zhangfengkai1 Verified Purchase

      a year 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 ?

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      about a year 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.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
  • "Thank you so much. Highly recommend the module to work in teams."

    Read More Reviews