Results 1 to 4 of 4

Thread: Disabling Studio in production environment

  1. #1
    Big Ring's Avatar
    Big Ring is offline Senior Member
    Join Date
    Sep 2009
    Location
    Minnetonka, MN, USA
    Posts
    44

    Default Disabling Studio in production environment

    Simple question:
    Can I disable Studio?
    The reason behind the question:
    When I deploy SugarCRM for a client I always have three environments -- Dev, Test and Prod. I never want any changes to be implemented in Test or Prod, rather, I want to develop every last detail and unit test in Dev before the client sees it in Test, etc. Recently I have had clients changing things in Prod (via Studio) and some of my custom code gets overwritten. While it is nice to hear from my clients, I would rather it not be because there is a crisis in production. Therefore, I would like to force them to make the changes in Dev and then promote the code.

    First of all, am I being too controlling? Second, is there a better way than removing Studio? Third, am I writing bad code or using half-baked solutions if Studio is messing with some custom function?

    I have not looked yet, but I am sure I can find the code that creates the link on the admin page and skip creating that link unless the environment is 'Dev', but I am just curious if there is a better way than "hacking" the core.

    Any advice would be appreciated.
    Thanks,

    Tim

  2. #2
    arnaud_carrenet is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    Paris
    Posts
    72

    Default Re: Disabling Studio in production environment

    Hello Team,

    as a only functionnal person I can't be of any help with Sugar code but what I can tell you is that your actions are good :
    1 / Work with dev, test and prod environments
    2 / In my company, we host 90% of our Sugar customers, we authorize our customers to "play" in the studio only if they have been trained to, some thing for dropdown lists and user admin.
    3 / If we made some specific code that we want to prevent them to modify in the studio, then we redirect the studio page, for example, Account / Edit page will not be accessible while Account / Read could be depending on the code.
    Hope this helps.
    Arnaud Pauty
    Projects Manager
    CARRENET - SugarCRM Gold Partner
    67 rue Desnouettes - 75015 Paris - France

  3. #3
    Big Ring's Avatar
    Big Ring is offline Senior Member
    Join Date
    Sep 2009
    Location
    Minnetonka, MN, USA
    Posts
    44

    Default Re: Disabling Studio in production environment

    arnaud,
    Thanks you for your insight. I had not thought of using redirects -- that is fairly brilliant. And it should be easy enough to manage in the controller.
    Thanks,

    Tim

  4. #4
    arnaud_carrenet is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    Paris
    Posts
    72

    Default Re: Disabling Studio in production environment

    Good if it helps ;-)
    Arnaud Pauty
    Projects Manager
    CARRENET - SugarCRM Gold Partner
    67 rue Desnouettes - 75015 Paris - France

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Production and Testing?
    By thisisyoyo in forum Help
    Replies: 1
    Last Post: 2008-10-13, 06:27 AM
  2. Replies: 3
    Last Post: 2008-04-25, 12:25 PM
  3. Production: 4.5.1e or 5.0 B1 ?
    By agora in forum Installation and Upgrade Help
    Replies: 4
    Last Post: 2007-09-14, 02:10 PM
  4. Best version for production?
    By racassel in forum Help
    Replies: 0
    Last Post: 2006-09-21, 03:36 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •