Results 1 to 6 of 6

Thread: I do not have access to my module

  1. #1
    webdevil25 is offline Senior Member
    Join Date
    May 2011
    Posts
    32

    Default I do not have access to my module

    I installed my mod successfully. right now its more skeleton code then anything. If I go to the index of my module, I get the following error

    Code:
    You do not have access to this area. Contact your site administrator to obtain access.
    in my metadata folder I have a file called listviewdefs.php

    within it i have


    Code:
     <?php
    
     $listViewDefs['Wowproducts'] = array(
     	'PRODUCT_NAME'=>array(
     			'width'=>'32',
     			'label'=> 'LBL_PRODUCT_NAME',
     			'default' => true,
     			'link'=>true
     			),
     		'PRICE'=>array(
     			'width'=>'32',
     			'label'=> 'LBL_PRODUCT_PRICE',
     			'default' => true,
     			'link'=>true
     			),				
     		);
    vardefs.php is located at the root of my module
    Code:
    <?php
    
    $dictionary['Wowproducts'] = array(
    	'table' => 'wowproducts',
    	'audited' => true,
    	'fields' => array(
    			'product_name'=>array(
    				'name' => 'product_name',
    				'vname'=> 'LBL_PRODUCT_NAME',
    				'type'=> 'varchar',
    				'len'=> '255',
    				),
    			'price'=>array(
    				'name' => 'price',
    				'vname'=> 'LBL_PRODUCT_PRICE',
    				'type'=> 'int',
    				),		
    			),
    		);
    
    require_once('include/SugarObjects/VardefManager.php');
    VardefManager::createVardef('Wowproducts', 'Wowproduct',array('basic','assignable'));
    I already rebuilt my modules

  2. #2
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    978

    Default Re: I do not have access to my module

    Did you check the permissions in the role definition (admin section)?
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

  3. #3
    webdevil25 is offline Senior Member
    Join Date
    May 2011
    Posts
    32

    Default Re: I do not have access to my module

    I am a admin, you would think I'd have access to everything. I don't see anything that allows me to manage roles called "Role Management". it doesnt allow me to controll access.

  4. #4
    webdevil25 is offline Senior Member
    Join Date
    May 2011
    Posts
    32

    Default Re: I do not have access to my module

    My module is not showing up in the permissions

  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,335

    Default Re: I do not have access to my module

    Did you create the module through Module Builder? Or did you download the package from somewhere else?

    Did you try Repair Roles?

    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.

  6. #6
    webdevil25 is offline Senior Member
    Join Date
    May 2011
    Posts
    32

    Default Re: I do not have access to my module

    nevermind, it went away. When I created a index.php file in the root of my module, it went away.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Module Access
    By guest in forum Developer Help
    Replies: 3
    Last Post: 2009-03-16, 02:50 PM
  2. Replies: 2
    Last Post: 2008-01-16, 04:56 AM
  3. Replies: 1
    Last Post: 2007-10-26, 03:04 AM
  4. Cannot Access Module Loader
    By jimispier in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-09-06, 05:10 AM
  5. Can't access module
    By austints in forum Developer Help
    Replies: 12
    Last Post: 2006-06-27, 06:01 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
  •