Results 1 to 4 of 4

Thread: create users who can input data but cannot edit

  1. #1
    javadoc is offline Junior Member
    Join Date
    Dec 2008
    Posts
    4

    Default create users who can input data but cannot edit

    Hi,

    Please I need help customizing user roles. i would like to create a user role where a user can make an entry, but cannot edit entries. How can i do that?

    Thanks...

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: create users who can input data but cannot edit

    Hi javadoc

    The Roles module does not allow that customization.
    You need to customize the controller.php / view.edit.php instead.

    Let us know if you would like to know how to do that.
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    kenneth.thorman is offline Sugar Community Member
    Join Date
    Oct 2007
    Posts
    191

    Default Re: create users who can input data but cannot edit

    I have customized sugar to do just that please see this thread.

    http://www.sugarcrm.com/forums/showthread.php?t=34277

    Clint Oram has indicated that this will be included in SugarCrm 5.5.

    This thread was based on SugarCrm 5.0.0e but we have an internal module that is 5.1.0b compatible that does just this and if you put the code lines in the correct places it works fine for 5.1.0b

    Regards
    Kenneth Thorman

  4. #4
    kenneth.thorman is offline Sugar Community Member
    Join Date
    Oct 2007
    Posts
    191

    Default Re: create users who can input data but cannot edit

    I was doing some updates on our internal module and did a quick SVN diff and extracted the parts that were relevant to this create right (since this is a manual extraction from a much larger customization done to SugarBean.php and some other files I might have missed something, so do not be surprised if it does not work.)

    I have attached it as in installable module here.

    PLEASE NOTE: There are not warranty, guaranties ... you know the rest. Test it thoroughly before bringing it anywhere near a production system.

    Regards
    Ken
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. HELP - Act import (field mapping)
    By smelamed in forum Help
    Replies: 32
    Last Post: 2010-12-15, 05:39 PM
  2. Replies: 1
    Last Post: 2008-09-18, 06:42 PM
  3. Replies: 2
    Last Post: 2008-03-27, 09:02 PM
  4. Data Security between users
    By bobloblaw in forum General Discussion
    Replies: 1
    Last Post: 2005-05-05, 10:37 PM
  5. Replies: 1
    Last Post: 2005-03-05, 09:17 PM

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
  •