CRM Open Source Business & Social CRM Software

Results 1 to 7 of 7

Thread: Please help me ... please

  1. #1
    reddysankarsugarcrm is offline Senior Member
    Join Date
    Jan 2009
    Posts
    22

    Default Please help me ... please

    hi,

    i have created one module(ContactDetails) through module builder. i have created two users too. User can enter his contact details in ContactDetails module. Two users are entered their details. Admin is allowed to see all users ContactDetails.

    In my case, even users(user1 and user2) are also seeing their contactdetails and other's Contactdetails too.

    I just want to restrict one user to not see other user's contactdetails.

    How to achieve this??? My head is braking ....

    Please send me the solution for this....



    im using sugarcrm 5.1 version community edition.

  2. #2
    Rudi Mentär is offline Senior Member
    Join Date
    Sep 2008
    Posts
    157

    Default Re: Please help me ... please

    have you already tried the Security Suite OpenSource Module?

  3. #3
    letrium is offline Sugar Community Member
    Join Date
    Dec 2008
    Posts
    614

    Wink Re: Please help me ... please

    Hi!

    You need to add your custom module to the Role managment.

    Insert rows into `acl_actions` table.
    expl:

    INSERT INTO
    `acl_actions` (`id`, `date_entered`, `date_modified`, `modified_user_id`, `created_by`, `name`, `category`, `acltype`, `aclaccess`, `deleted`)
    VALUES
    ('UUID()', 'NOW()', 'NOW()', '1', NULL, 'access', 'YOUR_MODULE', 'module', 89, 0),
    ('UUID()', 'NOW()', 'NOW()', '1', NULL, 'view', 'YOUR_MODULE', 'module', 90, 0),
    ('UUID()', 'NOW()', 'NOW()', '1', NULL, 'list', 'YOUR_MODULE', 'module', 90, 0),
    ('UUID()', 'NOW()', 'NOW()', '1', NULL, 'edit', 'YOUR_MODULE', 'module', 90, 0),
    ('UUID()', 'NOW()', 'NOW()', '1', NULL, 'delete', 'YOUR_MODULE', 'module', 90, 0),
    ('some_id', 'NOW()', 'NOW()', '1', NULL, 'import', 'YOUR_MODULE', 'module', 90, 0),
    ('some_id', 'NOW()', 'NOW()', '1', NULL, 'export', 'YOUR_MODULE', 'module', 90, 0),


    Now it must appear at admin panel "Role Managment". Update fields values /access,list,view/ as own

  4. #4
    reddysankarsugarcrm is offline Senior Member
    Join Date
    Jan 2009
    Posts
    22

    Default Re: Please help me ... please

    Thank U for ur reply


    can u provide me link where to find open soucre secutiy module?

    and I have seen acl_actions table i have understood the table but How to generate the id(first column)
    it is very confusing



    pls reply me sir

    pls
    pls

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

    Default Re: Please help me ... please

    Hi reddysankarsugarcrm

    Go to Admin -> Repair -> Rebuild Roles

    That will automatically add your custom module into Roles.

    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.

  6. #6
    reddysankarsugarcrm is offline Senior Member
    Join Date
    Jan 2009
    Posts
    22

    Default Re: Please help me ... please

    Thank u sir for ur reply

    I have custom module in acl_actions table

    But Rebuild Roles Option is not there in my sugar(5.1)

    However I have an option of Repair roles


    pls help me sir
    pls
    pls

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

    Default Re: Please help me ... please

    The correct link is "Repair Roles"
    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)

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
  •