Results 1 to 2 of 2

Thread: Module create role

  1. #1
    cmacholz is offline Senior Member
    Join Date
    Sep 2009
    Location
    Missoula, MT
    Posts
    82

    Default Module create role

    Is their any why to allow one group to edit a module's records but not create them?

    I want support users to create LEADS and EDIT contacts (But not create contacts)

    Then I want the Support Managers to convert LEAD to contacts (create contact).

    I'm looking for an approval process of some kind.

    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: Module create role

    Hi cmacholz

    This feature can be accomplished through custom controller.
    You need to implement the method action_editview, check if the users are related to such role and if the $this->bean->id is null.
    If all these conditions are true then you need to set the $this->view = 'noaccess'.

    Cheers
    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Create many-to-many relationship with role
    By Jax.Smith in forum Developer Tutorials
    Replies: 9
    Last Post: 2011-04-13, 09:22 PM
  2. Create many-to-many relationship with role
    By Jax.Smith in forum Developer Help
    Replies: 0
    Last Post: 2009-07-29, 07:58 PM
  3. Role Management: Create Privileges
    By Durrill in forum Feature Requests
    Replies: 0
    Last Post: 2007-05-07, 05:37 PM
  4. Create role page is blank
    By rohitdsouza in forum Help
    Replies: 0
    Last Post: 2006-07-25, 04:55 AM

Tags for this Thread

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
  •