Results 1 to 5 of 5

Thread: "Access Denied (Error 40)" to custom module

  1. #1
    fedepia is offline Sugar Community Member
    Join Date
    Aug 2007
    Location
    Rosario, Argentina
    Posts
    104

    Question "Access Denied (Error 40)" to custom module

    Hello, I've got a little problem. I've created a custom modulo to save some config parameters, then I have to access using nusoap but I receive an access denied alert message.
    if I do:
    PHP Code:
    echo "<pre>" print_r ($getEntryListResulttrue) . "</pre>"
    I get the following
    PHP Code:
    Array
    (
        [
    result_count] => -1
        
    [entry_list] => Array
            (
            )
        [
    error] => Array
            (
                [
    number] => 40
                
    [name] => Access Denied
                
    [description] => You do not have access
            
    )

    I've tested it with different users (an admin and a simple user) and I have the same problem. Also, I tried with Admin->Repair->Repair Roles but It didn't work

    Any suggerence?

    Thanks
    Last edited by fedepia; 2008-08-06 at 02:08 PM.

  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: "Access Denied (Error 40)" to custom module

    Hi, fedepia

    Does this custom module is tab false (are not displayed into modules tab)?
    SOAP only have access to modules that are tab true.

    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.

  3. #3
    fedepia is offline Sugar Community Member
    Join Date
    Aug 2007
    Location
    Rosario, Argentina
    Posts
    104

    Default Re: "Access Denied (Error 40)" to custom module

    hello andopes, I've put the module as visible and it's worked great. But, how can I do to hide this custom module to all users except to one specific user? my module is a parameter config module and the simple users can not access to it.
    Thank you for your answer
    __
    Federico Piazza
    Developer
    Argentina

  4. #4
    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: "Access Denied (Error 40)" to custom module

    Hi, Federico

    You can configure the roles for accessing this module.
    Create a role without access to that module.
    Add all users to that role.
    Create a role with access to that module
    Add some user to that role.

    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.

  5. #5
    fedepia is offline Sugar Community Member
    Join Date
    Aug 2007
    Location
    Rosario, Argentina
    Posts
    104

    Default Re: "Access Denied (Error 40)" to custom module

    Hi andopes, thank you for your quick answer. I will try that
    Thanks again
    __
    Federico Piazza
    Developer
    Argentina

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 11
    Last Post: 2008-07-30, 11:29 AM
  2. Relate custom module to cases
    By bchard in forum Help
    Replies: 1
    Last Post: 2008-04-04, 02:18 AM
  3. Replies: 2
    Last Post: 2008-01-14, 05:39 PM
  4. upgraded to 4.5.1e, received "Metadata for table tracker does not exist"
    By sfgeorge in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-09-03, 02:24 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
  •