Results 1 to 3 of 3

Thread: How to hide "Assigned to" in specific role?

  1. #1
    dolec is offline Sugar Community Member
    Join Date
    Jul 2007
    Posts
    13

    Default How to hide "Assigned to" in specific role?

    All rights working well each user can create its own contact for example but what sense of doing that if he can assign new contact to someone else.


    I would like only some role can have assign to option?

    Some solutions I have CE version with Security Suite?

  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: How to hide "Assigned to" in specific role?

    Hi dolec

    You need to create a custom view.edit.php (custom/modules/<ModuleName>/views/view.edit.php) for all modules affected by this role.
    Inside this view.edit.php you need to define the function display and add into it the code to remove from layout the 'assigned to' field if the user is into the specified role.

    Regards
    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
    dolec is offline Sugar Community Member
    Join Date
    Jul 2007
    Posts
    13

    Default Re: How to hide "Assigned to" in specific role?

    I am a little bit green ... if talking about sugarcrm

    How sugar will know that this view is for specific role?
    where can i read about creation of custom views ?
    I understand that it can not be done in studio?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. "Assigned to:" for "Notes or Attachments"
    By iason.schizas in forum Feature Requests
    Replies: 1
    Last Post: 2010-04-28, 12:20 PM
  2. Replies: 1
    Last Post: 2007-06-06, 02:28 PM
  3. Replies: 3
    Last Post: 2006-07-25, 06:58 PM
  4. hide "related to" column in contacts/activities
    By sugarcare in forum Developer Help
    Replies: 3
    Last Post: 2006-04-05, 07: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
  •